/[escript]/branches/domexper/scons/badger_options.py
ViewVC logotype

Diff of /branches/domexper/scons/badger_options.py

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

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

Legend:
Removed from v.3250  
changed lines
  Added in v.3251

  ViewVC Help
Powered by ViewVC 1.1.26