/[ascend]/trunk/pygtk/ascdev.in
ViewVC logotype

Diff of /trunk/pygtk/ascdev.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1534 by jpye, Wed Jun 27 13:08:47 2007 UTC revision 1535 by jpye, Mon Jul 9 14:58:15 2007 UTC
# Line 41  if __name__=='__main__': Line 41  if __name__=='__main__':
41    
42      # ensure that we have our 'models' dir in the ASCENDLIBRARY path      # ensure that we have our 'models' dir in the ASCENDLIBRARY path
43      modeldirs = [os.path.join(sourceroot,"models")]      modeldirs = [os.path.join(sourceroot,"models")]
44      solverdir = os.path.join(sourceroot,"solvers")      if add_at_start('ASCENDLIBRARY',modeldirs):
     solverdirs = [os.path.join(solverdir,d) for d in ['qrslv','conopt','lrslv','cmslv','lsode','ida']]  
     if add_at_start('ASCENDLIBRARY',modeldirs+solverdirs):  
45          restart.append('ASCENDLIBRARY')          restart.append('ASCENDLIBRARY')
46    
47        solverdir = os.path.join(sourceroot,"solvers")
48        solverdirs = [os.path.join(solverdir,d.lower()) for d in "@WITH_SOLVERS@".split(",")]
49        if add_at_start('ASCENDSOLVERS',solverdirs):
50            restart.append('ASCENDSOLVERS')
51    
52      # ensure that we have our shared libraries in the LD_LIBRARY_PATH      # ensure that we have our shared libraries in the LD_LIBRARY_PATH
53      libdirs = [sourceroot,os.path.join(sourceroot,"pygtk")]      libdirs = [sourceroot,os.path.join(sourceroot,"pygtk")]
54      if add_at_start(LD_LIBRARY_PATH,libdirs):      if add_at_start(LD_LIBRARY_PATH,libdirs):

Legend:
Removed from v.1534  
changed lines
  Added in v.1535

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22