/[escript]/trunk-mpi-branch/SConstruct
ViewVC logotype

Diff of /trunk-mpi-branch/SConstruct

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

revision 1304 by ksteube, Fri Sep 14 02:09:49 2007 UTC revision 1305 by gross, Tue Sep 18 00:52:48 2007 UTC
# Line 49  dir_packages = os.path.join(source_root, Line 49  dir_packages = os.path.join(source_root,
49  dir_examples = os.path.join(source_root,"examples")  dir_examples = os.path.join(source_root,"examples")
50  dir_libraries = os.path.join(source_root,"lib")  dir_libraries = os.path.join(source_root,"lib")
51    
52    print "Source root is : ",source_root
53  print " Default packages local installation:    ", dir_packages  print " Default packages local installation:    ", dir_packages
54  print " Default library local installation  ", dir_libraries  print " Default library local installation  ", dir_libraries
55  print " Default example local  installation:    ", dir_examples  print " Default example local  installation:    ", dir_examples
# Line 141  boost_lib_default=['boost_python'] Line 142  boost_lib_default=['boost_python']
142  #    check if netCDF is installed on the system:  #    check if netCDF is installed on the system:
143  #  #
144  netCDF_path_default=os.path.join(tools_prefix,'include','netcdf-3')  netCDF_path_default=os.path.join(tools_prefix,'include','netcdf-3')
145  netCDF_lib_path_default=os.path.join(tools_prefix,'lib','netcdf-3')  netCDF_lib_path_default=os.path.join(tools_prefix,'lib')
146    
147  if os.path.isdir(netCDF_path_default) and os.path.isdir(netCDF_lib_path_default):  if os.path.isdir(netCDF_path_default) and os.path.isdir(netCDF_lib_path_default):
148       useNetCDF_default='yes'       useNetCDF_default='yes'
# Line 894  env.SConscript(dirs = ['modellib/py_src' Line 895  env.SConscript(dirs = ['modellib/py_src'
895  env.SConscript(dirs = ['doc'], build_dir='build/$PLATFORM/doc', duplicate=0)  env.SConscript(dirs = ['doc'], build_dir='build/$PLATFORM/doc', duplicate=0)
896  env.SConscript(dirs = ['pyvisi/py_src'], build_dir='build/$PLATFORM/pyvisi', duplicate=0)  env.SConscript(dirs = ['pyvisi/py_src'], build_dir='build/$PLATFORM/pyvisi', duplicate=0)
897  env.SConscript(dirs = ['pycad/py_src'], build_dir='build/$PLATFORM/pycad', duplicate=0)  env.SConscript(dirs = ['pycad/py_src'], build_dir='build/$PLATFORM/pycad', duplicate=0)
898    env.SConscript(dirs = ['pythonMPI/src'], build_dir='build/$PLATFORM/pythonMPI', duplicate=0)
 # added by Ben Cumming  
 if useMPI:  
    env.SConscript(dirs = ['pythonMPI/src'], build_dir='build/$PLATFORM/pythonMPI', duplicate=0)  
899  #env.SConscript(dirs = ['../test'], build_dir='../test/build', duplicate=0)  #env.SConscript(dirs = ['../test'], build_dir='../test/build', duplicate=0)
900    
901    

Legend:
Removed from v.1304  
changed lines
  Added in v.1305

  ViewVC Help
Powered by ViewVC 1.1.26