/[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 3626 by gross, Fri Oct 14 02:34:55 2011 UTC revision 3843 by caltinay, Mon Feb 27 05:50:58 2012 UTC
# Line 33  build_dir = 'build' Line 33  build_dir = 'build'
33  # C compiler command name or full path.  # C compiler command name or full path.
34  # DEFAULT: auto-detected  # DEFAULT: auto-detected
35  cc = 'icc'  cc = 'icc'
36    #cc = 'gcc'
37    
38  # C++ compiler command name or full path.  # C++ compiler command name or full path.
39  # DEFAULT: auto-detected  # DEFAULT: auto-detected
40  cxx = 'icc'  cxx = 'icpc'
41    #cxx = 'g++'
42    
43  # Flags to use with both C and C++ compilers. Do not set unless you know  # Flags to use with both C and C++ compilers. Do not set unless you know
44  # what you are doing - use cc_extra to specify additional flags!  # what you are doing - use cc_extra to specify additional flags!
# Line 49  cxx = 'icc' Line 51  cxx = 'icc'
51    
52  # Additional compiler flags for debug builds  # Additional compiler flags for debug builds
53  # DEFAULT: compiler-dependent  # DEFAULT: compiler-dependent
54  #cc_debug = '-g'  cc_debug = '-g'
55    
56  # Additional flags to add to the C compiler only  # Additional flags to add to the C compiler only
57  # DEFAULT: '' (empty)  # DEFAULT: '' (empty)
58  cc_extra = '-sox'  cc_extra = '-sox'
59    #cc_extra = '-fopenmp'
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'
65    
66  # Additional flags to add to the linker  # Additional flags to add to the linker
67  # DEFAULT: '' (empty)  # DEFAULT: '' (empty)
# Line 69  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 = False  #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 77  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
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'
# Line 93  omp_ldflags = '-openmp' Line 97  omp_ldflags = '-openmp'
97  mpi = 'OPENMPI'  mpi = 'OPENMPI'
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'
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'
112    
113  # boost-python library/libraries to link against  # boost-python library/libraries to link against
114  boost_libs = ['boost_python-gcc41-mt-1_39']  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'
# Line 121  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 131  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 158  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', 'gomp', 'pthread']  #mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
166    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 179  lapack = 'mkl' Line 184  lapack = 'mkl'
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 = ['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 197  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 209  visit_prefix = '/opt/visit/2.3.1/2.3.1/l Line 214  visit_prefix = '/opt/visit/2.3.1/2.3.1/l
214  # Whether to use BoomerAMG (requires MPI)  # Whether to use BoomerAMG (requires MPI)
215  # DEFAULT: False  # DEFAULT: False
216  #boomeramg = True  #boomeramg = True
217    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.3626  
changed lines
  Added in v.3843

  ViewVC Help
Powered by ViewVC 1.1.26