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

Diff of /trunk/scons/shake75_options.py

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

revision 2881 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3737 by caltinay, Tue Dec 13 00:04:39 2011 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
14    # The options file version. SCons will refuse to build if there have been
15    # changes to the set of variables and your file has not been updated.
16    # This setting is mandatory.
17    escript_opts_version = 201
18    
19  # Configuration for shake75 (32-bit Intel Core 2 running Debian Linux)  # Installation prefix. Files will be installed in subdirectories underneath.
20    # DEFAULT: '.' (current directory)
21    #prefix = '/usr/local'
22    
23  # If you cannot use the default compiler flags set in SConstruct, then change them here  # Top-level directory for intermediate build and test files.
24  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  # DEFAULT: 'build'
25  # cc_flags      = '-ansi'  #build_dir = 'build'
26  # cc_optim      = '-O2'  
27  # usedebug      = 'no'  # C compiler command name or full path.
28  # cc_debug      = '-g'  # DEFAULT: auto-detected
29  omp_optim       = '-fopenmp'  #cc = 'gcc-4.6'
30  omp_debug       = ''  
31  omp_libs        = []  # C++ compiler command name or full path.
32    # DEFAULT: auto-detected
33  # Use the default C/C++ flags but add something only for this host:  #cxx = 'g++-4.6'
34  cc_extra        = '-Wall -mmmx -msse'  
35  ld_extra        = '-fopenmp'  # Flags to use with both C and C++ compilers. Do not set unless you know
36    # what you are doing - use cc_extra to specify additional flags!
37  # Be picky about errors  # DEFAULT: compiler-dependent
38  # usepedantic   = 'no'  #cc_flags = ''
39    
40  # Extra libraries  # Additional compiler (optimization) flags for non-debug builds
41  # sys_libs      = []  # DEFAULT: compiler-dependent
42    cc_optim = '-O3 -mmmx -msse'
43  # Python libraries  
44  # python_path       = '/usr/lib/python2.5'  # Additional compiler flags for debug builds
45  # python_lib_path   = '/usr/lib'  # DEFAULT: compiler-dependent
46  # python_libs       = 'python2.5'  #cc_debug = '-g'
47  # python_cmd        = 'python'  
48    # Additional flags to add to the C compiler only
49  # Boost libraries  # DEFAULT: '' (empty)
50  boost_path          = '/usr/include/'  cc_extra = '-Wextra -Wno-unused-parameter'
51  # boost_lib_path    = '/usr/lib'  
52  boost_libs          = ['boost_python']  # Additional flags to add to the C++ compiler only
53    # DEFAULT: '' (empty)
54  # Specify whether or not to use VTK  cxx_extra = '-Wextra -Wno-unused-parameter'
55  # usevtk            = 'yes'  
56    # Additional flags to add to the linker
57  # NetCDF  # DEFAULT: '' (empty)
58  #usenetcdf          = 'yes'  #ld_extra = ''
59  #netCDF_path        = '/usr/include/'  
60  #netCDF_lib_path    = '/usr/lib/'  # Whether to treat compiler warnings as errors
61  #netCDF_libs        = ['netcdf_c++', 'netcdf']  # DEFAULT: True
62    #werror = False
63  # MKL  
64  # usemkl        = 'yes'  # Whether to build a debug version
65  # mkl_path      = '/usr/include'  # DEFAULT: False
66  # mkl_lib_path  = '/usr/lib'  #debug = True
67  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  
68    # Set to True to print the full compiler/linker command line
69  # UMFPACK (requires AMD and BLAS)  # DEFAULT: False
70  useumfpack    = 'yes'  verbose = True
71  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
72  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # Set to True to add flags that enable OpenMP parallelization
73  # umf_lib_path  = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # DEFAULT: False
74  # umf_libs      = ['umfpack']  openmp = True
75  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
76  # amd_lib_path  = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # Additional compiler flags for OpenMP builds
77  # amd_libs      = ['amd']  # DEFAULT: compiler-dependent
78  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  #omp_flags = '-fopenmp'
79  # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  
80  # blas_libs     = ['blas']  # Additional linker flags for OpenMP builds
81    # DEFAULT: compiler-dependent
82  # Silo  #omp_ldflags = '-fopenmp'
83  usesilo         = 'yes'  
84  silo_path       = '/usr/local/include/'  # Flavour of MPI implementation
85  silo_lib_path   = '/usr/local/lib/'  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
86  silo_libs       = ['siloh5', 'hdf5']  # DEFAULT: 'none' (disable MPI)
87    mpi = 'OPENMPI'
88  # OpenMP  
89  useopenmp       = 'yes'  # Prefix or paths to MPI headers and libraries. See note above about prefixes.
90    mpi_prefix = '/usr/lib/openmpi'
91  # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  
92  usempi          = 'yes'  # MPI libraries to link against
93  mpi_path        = '/usr/include/mpi'  mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
94  mpi_lib_path    = '/usr/lib/openmpi/lib'  
95  mpi_libs        = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']  # Prefix or paths to boost-python headers and libraries. See note above.
96  mpi_flavour     = 'OPENMPI'  #boost_prefix = '/usr/local'
97    
98  # ParMETIS (for use with MPI)  # boost-python library/libraries to link against
99  #useparmetis        = 'yes'  boost_libs = ['libboost_python-mt-py27']
100  #parmetis_path      = '/usr/local/include'  
101  #parmetis_lib_path  = '/usr/local/lib'  # Prefix or paths to CppUnit headers and libraries. See note above.
102  #parmetis_libs      = ['parmetis', 'metis']  #cppunit_prefix = '/usr/local'
103    
104  # PAPI  # CppUnit library/libraries to link against
105  # usepapi                   = 'no'  #cppunit_libs = ['cppunit']
106  # papi_path                 = '/usr/include'  
107  # papi_lib_path             = '/usr/lib'  # Whether to use the netCDF library for dump file support
108  # papi_libs                 = ['papi']  # DEFAULT: False
109  # papi_instrument_solver    = 'no'  netcdf = True
110    
111    # Prefix or paths to netCDF headers and libraries. See note above.
112    #netcdf_prefix = '/usr/local'
113    
114    # netCDF library/libraries to link against
115    #netcdf_libs = ['netcdf_c++', 'netcdf']
116    
117    # Whether to use the parMETIS library (only in conjunction with MPI)
118    # DEFAULT: False
119    parmetis = True
120    
121    # Prefix or paths to parMETIS headers and libraries. See note above.
122    #parmetis_prefix = '/usr/local'
123    
124    # parMETIS library/libraries to link against
125    #parmetis_libs = ['parmetis', 'metis']
126    
127    # Whether to use the Intel PAPI (Performance API) library
128    # DEFAULT: False
129    #papi = True
130    
131    # Prefix or paths to PAPI headers and libraries. See note above.
132    #papi_prefix = '/usr/local'
133    
134    # PAPI library/libraries to link against
135    #papi_libs = ['papi']
136    
137    # Whether to use PAPI to instrument solver iterations
138    # DEFAULT: False
139    #papi_instrument_solver = True
140    
141    # Whether to use Intel MKL (Math Kernel Library)
142    # DEFAULT: False
143    #mkl = True
144    
145    # Prefix or paths to MKL headers and libraries. See note above.
146    #mkl_prefix = '/usr'
147    
148    # MKL library/libraries to link against
149    #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
150    
151    # Whether to use UMFPACK (requires AMD and BLAS)
152    # DEFAULT: False
153    umfpack = True
154    
155    # Prefix or paths to UMFPACK headers and libraries. See note above.
156    umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
157    
158    # UMFPACK library/libraries to link against
159    umfpack_libs = ['umfpack', 'blas']
160    
161    # Whether to use BoomerAMG (requires MPI)
162    # DEFAULT: False
163    #boomeramg = True
164    
165    # Prefix or paths to BoomerAMG headers and libraries. See note above.
166    #boomeramg_prefix = '/usr/local'
167    
168    # BoomerAMG library/libraries to link against
169    #boomeramg_libs = ['HYPRE']
170    
171    # Flavour of LAPACK implementation
172    # Recognized values: 'none', 'clapack', 'mkl'
173    # DEFAULT: 'none' (do not use LAPACK)
174    lapack = 'clapack'
175    
176    # Prefix or paths to LAPACK headers and libraries. See note above.
177    lapack_prefix = ['/usr/include/atlas', '/usr/lib/atlas-base']
178    
179    # LAPACK library/libraries to link against
180    lapack_libs = ['lapack_atlas']
181    
182    # Whether to use LLNL's SILO library for Silo output file support in weipa
183    # DEFAULT: False
184    silo = True
185    
186    # Prefix or paths to SILO headers and libraries. See note above.
187    #silo_prefix = '/usr/local'
188    
189    # SILO library/libraries to link against
190    #silo_libs = ['siloh5', 'hdf5']
191    
192    # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
193    # DEFAULT: False
194    visit = True
195    
196    # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
197    visit_prefix = '/opt/visit/2.4.0/linux-intel/libsim/V2'
198    
199    # Sim2 library/libraries to link against
200    #visit_libs = ['simV2']
201    
202    # Whether to enable the deprecated PyVisi interface (requires the VTK python
203    # modules)
204    # DEFAULT: False
205    #pyvisi = True
206    
207    # Build dynamic libraries only
208    #DEFAULT: False
209    #build_shared = True
210    
211    
212    ### ADVANCED OPTIONS ###
213    # Do not change the following options unless you know what they do
214    
215    # Use intel's VSL library for random data
216    # DEFAULT: False
217    #vsl_random = True
218    
219    # Extra libraries to link with
220    #sys_libs = []
221    
222    # Additional environmental variables to export to the tools
223    #env_export = []
224    
225    #tools_names = ['default']
226    
227    #iknowwhatimdoing = False
228    
229    #forcelazy = 'leave_alone'
230    
231    #forcecollres = 'leave_alone'
232    

Legend:
Removed from v.2881  
changed lines
  Added in v.3737

  ViewVC Help
Powered by ViewVC 1.1.26