/[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 3646 by lgao, Fri Oct 28 05:20:38 2011 UTC revision 3647 by lgao, Tue Nov 1 23:33:18 2011 UTC
# Line 32  build_dir = 'build' Line 32  build_dir = 'build'
32    
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'  #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++'  #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 55  cc_debug = '-g' Line 55  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'  #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'
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'
69  ld_extra = '-L/opt/hdf5/1.8.6/lib -fopenmp'  #ld_extra = '-L/opt/hdf5/1.8.6/lib -fopenmp'
70    
71  # Whether to treat compiler warnings as errors  # Whether to treat compiler warnings as errors
72  # DEFAULT: True  # DEFAULT: True
# Line 82  verbose = True Line 82  verbose = True
82    
83  # Set to True to add flags that enable OpenMP parallelization  # Set to True to add flags that enable OpenMP parallelization
84  # DEFAULT: False  # DEFAULT: False
85  #openmp = True  openmp = True
86  openmp = False  #openmp = False
87    
88  # Additional compiler flags for OpenMP builds  # Additional compiler flags for OpenMP builds
89  # DEFAULT: compiler-dependent  # DEFAULT: compiler-dependent
# Line 96  omp_ldflags = '-openmp' Line 96  omp_ldflags = '-openmp'
96  # Flavour of MPI implementation  # Flavour of MPI implementation
97  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
98  # DEFAULT: 'none' (disable MPI)  # DEFAULT: 'none' (disable MPI)
99  #mpi = 'OPENMPI'  mpi = 'OPENMPI'
100  mpi = 'none'  #mpi = 'none'
101    
102  # 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.
103  mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']  mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']
# Line 168  mkl = True Line 168  mkl = True
168  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']
169    
170  # MKL library/libraries to link against  # MKL library/libraries to link against
171  mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'pthread']  #mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'pthread', ]
172    mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'iomp5', 'pthread']
173    
174  # Whether to use UMFPACK (requires AMD and BLAS)  # Whether to use UMFPACK (requires AMD and BLAS)
175  # DEFAULT: False  # DEFAULT: False
# Line 184  mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_t Line 185  mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_t
185  # Recognized values: 'none', 'clapack', 'mkl'  # Recognized values: 'none', 'clapack', 'mkl'
186  # DEFAULT: 'none' (do not use LAPACK)  # DEFAULT: 'none' (do not use LAPACK)
187  lapack = 'mkl'  lapack = 'mkl'
188    #lapack = 'none'
189    
190  # Prefix or paths to LAPACK headers and libraries. See note above.  # Prefix or paths to LAPACK headers and libraries. See note above.
191  lapack_prefix = mkl_prefix  lapack_prefix = mkl_prefix
192    
193  # LAPACK library/libraries to link against  # LAPACK library/libraries to link against
194  lapack_libs = ['mkl_rt']  #lapack_libs = ['mkl_rt']
195    lapack_libs = ['libmkl_lapack95_lp64', 'mkl_intel_thread']
196    
197  # 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
198  # DEFAULT: False  # DEFAULT: False
# Line 197  silo = True Line 200  silo = True
200    
201  # Prefix or paths to SILO headers and libraries. See note above.  # Prefix or paths to SILO headers and libraries. See note above.
202  silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib']  silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib']
203  #silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib' ,  '/opt/hdf5/1.8.6/lib' ]  #silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib' , '/opt/hdf5/1.8.6/lib']
204    
205  # SILO library/libraries to link against  # SILO library/libraries to link against
206  silo_libs = ['siloh5', 'hdf5']  silo_libs = ['siloh5', 'hdf5']
# Line 218  visit_prefix = '/opt/visit/2.3.1/2.3.1/l Line 221  visit_prefix = '/opt/visit/2.3.1/2.3.1/l
221  #pyvisi = True  #pyvisi = True
222  # Whether to use BoomerAMG (requires MPI)  # Whether to use BoomerAMG (requires MPI)
223  # DEFAULT: False  # DEFAULT: False
224  boomeramg = True  #boomeramg = True
225    boomeramg = False
226    
227  # Prefix or paths to BoomerAMG headers and libraries. See note above.  # Prefix or paths to BoomerAMG headers and libraries. See note above.
228  boomeramg_prefix = '/opt/hypre/2.0.0/'  boomeramg_prefix = '/opt/hypre/2.0.0/'

Legend:
Removed from v.3646  
changed lines
  Added in v.3647

  ViewVC Help
Powered by ViewVC 1.1.26