/[escript]/trunk/scons/epicuser_options.py
ViewVC logotype

Diff of /trunk/scons/epicuser_options.py

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

revision 3842 by lgao, Tue Nov 1 23:33:18 2011 UTC revision 3843 by caltinay, Mon Feb 27 05:50:58 2012 UTC
# Line 60  cc_extra = '-sox' Line 60  cc_extra = '-sox'
60    
61  # Additional flags to add to the C++ compiler only  # Additional flags to add to the C++ compiler only
62  # DEFAULT: '' (empty)  # DEFAULT: '' (empty)
63  cxx_extra = '-sox'  cxx_extra = '-sox -I/opt/python-numpy/1.6.1-python-2.6/lib/python2.6/site-packages/numpy/core/include'
64  #cxx_extra = '-fopenmp'  #cxx_extra = '-fopenmp'
65    
66  # Additional flags to add to the linker  # Additional flags to add to the linker
67  # DEFAULT: '' (empty)  # DEFAULT: '' (empty)
68  ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'  ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'
 #ld_extra = '-L/opt/hdf5/1.8.6/lib -fopenmp'  
69    
70  # Whether to treat compiler warnings as errors  # Whether to treat compiler warnings as errors
71  # DEFAULT: True  # DEFAULT: True
# Line 74  werror = False Line 73  werror = False
73    
74  # Whether to build a debug version  # Whether to build a debug version
75  # DEFAULT: False  # DEFAULT: False
76  debug = True  #debug = True
77    
78  # Set to True to print the full compiler/linker command line  # Set to True to print the full compiler/linker command line
79  # DEFAULT: False  # DEFAULT: False
# Line 82  verbose = True Line 81  verbose = True
81    
82  # Set to True to add flags that enable OpenMP parallelization  # Set to True to add flags that enable OpenMP parallelization
83  # DEFAULT: False  # DEFAULT: False
84  openmp = True  #openmp = True
 #openmp = False  
85    
86  # Additional compiler flags for OpenMP builds  # Additional compiler flags for OpenMP builds
87  # DEFAULT: compiler-dependent  # DEFAULT: compiler-dependent
88  omp_flags = '-openmp -openmp-report2'  #omp_flags = '-openmp -openmp-report2'
89    
90  # Additional linker flags for OpenMP builds  # Additional linker flags for OpenMP builds
91  # DEFAULT: compiler-dependent  # DEFAULT: compiler-dependent
92  omp_ldflags = '-openmp'  #omp_ldflags = '-openmp'
93    
94  # Flavour of MPI implementation  # Flavour of MPI implementation
95  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
96  # DEFAULT: 'none' (disable MPI)  # DEFAULT: 'none' (disable MPI)
97  mpi = 'OPENMPI'  mpi = 'OPENMPI'
 #mpi = 'none'  
98    
99  # Prefix or paths to MPI headers and libraries. See note above about prefixes.  # Prefix or paths to MPI headers and libraries. See note above about prefixes.
100  mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']  mpi_prefix = '/opt/mpi/intel/openmpi/1.4.3-11.1'
101    #mpi_prefix = '/opt/mpi/gcc/openmpi/1.4.3'
102    
103  # MPI libraries to link against  # MPI libraries to link against
104  mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']  #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
105    
106  # Prefix or paths to python headers and libraries. See note above.  # Prefix or paths to python headers and libraries. See note above.
107  # By default, this is determined using the running python executable.  # By default, this is determined using the running python executable.
108  python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib']  #python_prefix = '/opt/python/2.6.7'
 #python_prefix = ['/opt/python/2.7.2/include/python2.7', '/opt/python/2.7.2/lib']  
109    
110  # Prefix or paths to boost-python headers and libraries. See note above.  # Prefix or paths to boost-python headers and libraries. See note above.
111  #boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib']  boost_prefix = '/opt/boost/1.46.1-python-2.6'
 boost_prefix = ['/opt/boost/1.46.1-python-2.6/include/', '/opt/boost/1.46.1-python-2.6/lib']  
112    
113  # boost-python library/libraries to link against  # boost-python library/libraries to link against
 #boost_libs = ['boost_python-gcc41-mt-1_39']  
114  boost_libs = ['boost_python']  boost_libs = ['boost_python']
115    
   
116  # Prefix or paths to CppUnit headers and libraries. See note above.  # Prefix or paths to CppUnit headers and libraries. See note above.
117  cppunit_prefix = '/opt/cppunit/1.12.1'  cppunit_prefix = '/opt/cppunit/1.12.1'
118    
# Line 131  cppunit_prefix = '/opt/cppunit/1.12.1' Line 125  cppunit_prefix = '/opt/cppunit/1.12.1'
125  netcdf = True  netcdf = True
126    
127  # Prefix or paths to netCDF headers and libraries. See note above.  # Prefix or paths to netCDF headers and libraries. See note above.
128  netcdf_prefix = ['/opt/netcdf/4.0.1/include', '/opt/netcdf/4.0.1/lib']  netcdf_prefix = '/opt/netcdf/4.0.1'
129    
130  # netCDF library/libraries to link against  # netCDF library/libraries to link against
131  netcdf_libs = ['netcdf_c++', 'netcdf']  netcdf_libs = ['netcdf_c++', 'netcdf']
# Line 141  netcdf_libs = ['netcdf_c++', 'netcdf'] Line 135  netcdf_libs = ['netcdf_c++', 'netcdf']
135  parmetis = True  parmetis = True
136    
137  # Prefix or paths to parMETIS headers and libraries. See note above.  # Prefix or paths to parMETIS headers and libraries. See note above.
138  parmetis_prefix = ['/opt/parmetis/3.1.1/include', '/opt/parmetis/3.1.1/lib']  parmetis_prefix = '/opt/parmetis/3.1.1'
139    
140  # parMETIS library/libraries to link against  # parMETIS library/libraries to link against
141  parmetis_libs = ['parmetis', 'metis']  parmetis_libs = ['parmetis', 'metis']
# Line 168  mkl = True Line 162  mkl = True
162  mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']  mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
163    
164  # MKL library/libraries to link against  # MKL library/libraries to link against
165  #mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'pthread', ]  #mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
166  mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'iomp5', 'pthread']  mkl_libs = ['mkl_intel_lp64', 'mkl_sequential', 'mkl_core', 'pthread']
167    
168  # Whether to use UMFPACK (requires AMD and BLAS)  # Whether to use UMFPACK (requires AMD and BLAS)
169  # DEFAULT: False  # DEFAULT: False
# Line 185  mkl_libs = ['mkl_intel_lp64', 'mkl_intel Line 179  mkl_libs = ['mkl_intel_lp64', 'mkl_intel
179  # Recognized values: 'none', 'clapack', 'mkl'  # Recognized values: 'none', 'clapack', 'mkl'
180  # DEFAULT: 'none' (do not use LAPACK)  # DEFAULT: 'none' (do not use LAPACK)
181  lapack = 'mkl'  lapack = 'mkl'
 #lapack = 'none'  
182    
183  # Prefix or paths to LAPACK headers and libraries. See note above.  # Prefix or paths to LAPACK headers and libraries. See note above.
184  lapack_prefix = mkl_prefix  lapack_prefix = mkl_prefix
185    
186  # LAPACK library/libraries to link against  # LAPACK library/libraries to link against
187  #lapack_libs = ['mkl_rt']  #lapack_libs = ['mkl_rt']
188  lapack_libs = ['libmkl_lapack95_lp64', 'mkl_intel_thread']  lapack_libs = ['mkl_core']
189    
190  # Whether to use LLNL's SILO library for Silo output file support in weipa  # Whether to use LLNL's SILO library for Silo output file support in weipa
191  # DEFAULT: False  # DEFAULT: False
192  silo = True  silo = True
193    
194  # Prefix or paths to SILO headers and libraries. See note above.  # Prefix or paths to SILO headers and libraries. See note above.
195  silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib']  silo_prefix = '/opt/silo/4.7.2'
 #silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib' , '/opt/hdf5/1.8.6/lib']  
196    
197  # SILO library/libraries to link against  # SILO library/libraries to link against
198  silo_libs = ['siloh5', 'hdf5']  silo_libs = ['siloh5', 'hdf5']
# Line 210  silo_libs = ['siloh5', 'hdf5'] Line 202  silo_libs = ['siloh5', 'hdf5']
202  visit = True  visit = True
203    
204  # Prefix or paths to VisIt's sim2 headers and libraries. See note above.  # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
205  visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2/'  visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2'
206    
207  # Sim2 library/libraries to link against  # Sim2 library/libraries to link against
208  #visit_libs = ['simV2']  #visit_libs = ['simV2']
# Line 225  visit_prefix = '/opt/visit/2.3.1/2.3.1/l Line 217  visit_prefix = '/opt/visit/2.3.1/2.3.1/l
217  boomeramg = False  boomeramg = False
218    
219  # Prefix or paths to BoomerAMG headers and libraries. See note above.  # Prefix or paths to BoomerAMG headers and libraries. See note above.
220  boomeramg_prefix = '/opt/hypre/2.0.0/'  boomeramg_prefix = '/opt/hypre/2.0.0'
221    
222  # BoomerAMG library/libraries to link against  # BoomerAMG library/libraries to link against
223  boomeramg_libs = ['HYPRE']  boomeramg_libs = ['HYPRE']
224  #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']  #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
225    
226    
   
   
   
227  ### ADVANCED OPTIONS ###  ### ADVANCED OPTIONS ###
228  # Do not change the following options unless you know what they do  # Do not change the following options unless you know what they do
229    

Legend:
Removed from v.3842  
changed lines
  Added in v.3843

  ViewVC Help
Powered by ViewVC 1.1.26