/[escript]/branches/doubleplusgood/scons/shake24_options.py
ViewVC logotype

Diff of /branches/doubleplusgood/scons/shake24_options.py

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

revision 1954 by artak, Fri Oct 31 03:22:34 2008 UTC revision 3981 by jfenwick, Fri Sep 21 02:47:54 2012 UTC
# Line 1  Line 1 
1    
2  ########################################################  ##############################################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2012 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # http://www.uq.edu.au
 # http://www.uq.edu.au/esscc  
6  #  #
7  # Primary Business: Queensland, Australia  # Primary Business: Queensland, Australia
8  # Licensed under the Open Software License version 3.0  # Licensed under the Open Software License version 3.0
9  # http://www.opensource.org/licenses/osl-3.0.php  # http://www.opensource.org/licenses/osl-3.0.php
10  #  #
11  ########################################################  # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12    # Development since 2012 by School of Earth Sciences
13    #
14    ##############################################################################
15    
16    # PREFIXES:
17    # There are two ways to specify where to find dependent headers and libraries
18    # (via the <dependency>_prefix):
19    # 1) If your installation follows the general scheme where headers are located
20    #    in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
21    #    it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
22    # 2) Otherwise provide a list with two elements, where the first one is the
23    #    include path, and the second the library path, e.g.
24    #    boost_prefix=['/usr/include/boost1_44', '/usr/lib']
25    # All <dependency>_prefix settings default to '/usr'
26    
27    # The options file version. SCons will refuse to build if there have been
28    # changes to the set of variables and your file has not been updated.
29    # This setting is mandatory.
30    escript_opts_version = 201
31    
32    # Installation prefix. Files will be installed in subdirectories underneath.
33    # DEFAULT: '.' (current directory)
34    #prefix = '/usr/local'
35    
36    # Top-level directory for intermediate build and test files.
37    # DEFAULT: 'build'
38    #build_dir = 'build'
39    
40    # C compiler command name or full path.
41    # DEFAULT: auto-detected
42    #cc = 'gcc'
43    
44    # C++ compiler command name or full path.
45    # DEFAULT: auto-detected
46    #cxx = 'g++'
47    
48    # Flags to use with both C and C++ compilers. Do not set unless you know
49    # what you are doing - use cc_extra to specify additional flags!
50    # DEFAULT: compiler-dependent
51    #cc_flags = ''
52    
53    # Additional compiler (optimization) flags for non-debug builds
54    # DEFAULT: compiler-dependent
55    #cc_optim = '-O3 -mmmx -msse'
56    
57    # Additional compiler flags for debug builds
58    # DEFAULT: compiler-dependent
59    #cc_debug = '-g'
60    
61    # Additional flags to add to the C compiler only
62    # DEFAULT: '' (empty)
63    #cc_extra = ''
64    
65    # Additional flags to add to the C++ compiler only
66    # DEFAULT: '' (empty)
67    #cxx_extra = ''
68    
69    # Additional flags to add to the linker
70    # DEFAULT: '' (empty)
71    ld_extra = '-L/usr/lib'
72    
73    # Whether to treat compiler warnings as errors
74    # DEFAULT: True
75    werror = False
76    
77    # Whether to build a debug version
78    # DEFAULT: False
79    #debug = True
80    
81    # Set to True to print the full compiler/linker command line
82    # DEFAULT: False
83    #verbose = True
84    
85    # Set to True to add flags that enable OpenMP parallelization
86    # DEFAULT: False
87    #openmp = True
88    
89    # Additional compiler flags for OpenMP builds
90    # DEFAULT: compiler-dependent
91    #omp_flags = '-fopenmp'
92    
93    # Additional linker flags for OpenMP builds
94    # DEFAULT: compiler-dependent
95    #omp_ldflags = '-fopenmp'
96    
97    # Flavour of MPI implementation
98    # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
99    # DEFAULT: 'none' (disable MPI)
100    #mpi = 'OPENMPI'
101    
102    # Prefix or paths to MPI headers and libraries. See note above about prefixes.
103    #mpi_prefix = '/usr'
104    
105    # MPI libraries to link against
106    #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
107    
108    # Prefix or paths to boost-python headers and libraries. See note above.
109    boost_prefix = ['/usr/local/include/boost-1_38', '/usr/local/lib']
110    
111    # boost-python library/libraries to link against
112    boost_libs = ['boost_python-xgcc40-mt']
113    
114    # Prefix or paths to CppUnit headers and libraries. See note above.
115    #cppunit_prefix = '/usr/local'
116    
117    # CppUnit library/libraries to link against
118    #cppunit_libs = ['cppunit']
119    
120    # Whether to use the netCDF library for dump file support
121    # DEFAULT: False
122    netcdf = True
123    
124    # Prefix or paths to netCDF headers and libraries. See note above.
125    netcdf_prefix = '/opt/local'
126    
127    # netCDF library/libraries to link against
128    #netcdf_libs = ['netcdf_c++', 'netcdf']
129    
130    # Whether to use the parMETIS library (only in conjunction with MPI)
131    # DEFAULT: False
132    #parmetis = True
133    
134    # Prefix or paths to parMETIS headers and libraries. See note above.
135    #parmetis_prefix = '/usr/local'
136    
137    # parMETIS library/libraries to link against
138    #parmetis_libs = ['parmetis', 'metis']
139    
140    # Whether to use the Intel PAPI (Performance API) library
141    # DEFAULT: False
142    #papi = True
143    
144    # Prefix or paths to PAPI headers and libraries. See note above.
145    #papi_prefix = '/usr/local'
146    
147    # PAPI library/libraries to link against
148    #papi_libs = ['papi']
149    
150    # Whether to use PAPI to instrument solver iterations
151    # DEFAULT: False
152    #papi_instrument_solver = True
153    
154    # Whether to use Intel MKL (Math Kernel Library)
155    # DEFAULT: False
156    #mkl = True
157    
158    # Prefix or paths to MKL headers and libraries. See note above.
159    #mkl_prefix = '/usr'
160    
161    # MKL library/libraries to link against
162    #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
163    
164    # Whether to use UMFPACK (requires AMD and BLAS)
165    # DEFAULT: False
166    umfpack = True
167    
168    # Prefix or paths to UMFPACK headers and libraries. See note above.
169    umfpack_prefix = ['/opt/local/include/umfpack-5.0.3/Include', '/opt/local/include/umfpack-5.0.3/Lib']
170    
171    # UMFPACK library/libraries to link against
172    umfpack_libs = ['umfpack', 'amd', 'blas']
173    
174    # Whether to use BoomerAMG (requires MPI)
175    # DEFAULT: False
176    #boomeramg = True
177    
178    # Prefix or paths to BoomerAMG headers and libraries. See note above.
179    #boomeramg_prefix = '/usr/include'
180    
181    # BoomerAMG library/libraries to link against
182    #boomeramg_libs = ['HYPRE']
183    
184    # Flavour of LAPACK implementation
185    # Recognized values: 'none', 'clapack', 'mkl'
186    # DEFAULT: 'none' (do not use LAPACK)
187    #lapack = 'clapack'
188    
189    # Prefix or paths to LAPACK headers and libraries. See note above.
190    #lapack_prefix = '/usr/local'
191    
192    # LAPACK library/libraries to link against
193    #lapack_libs = ['lapack_atlas']
194    
195    # Whether to use LLNL's SILO library for Silo output file support in weipa
196    # DEFAULT: False
197    #silo = True
198    
199    # Prefix or paths to SILO headers and libraries. See note above.
200    #silo_prefix = '/usr/local'
201    
202    # SILO library/libraries to link against
203    #silo_libs = ['siloh5', 'hdf5']
204    
205    # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
206    # DEFAULT: False
207    #visit = True
208    
209    # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
210    #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
211    
212    # Sim2 library/libraries to link against
213    #visit_libs = ['simV2']
214    
215    # Whether to enable the deprecated PyVisi interface (requires the VTK python
216    # modules)
217    # DEFAULT: False
218    #pyvisi = True
219    
220    # Build dynamic libraries only
221    #DEFAULT: False
222    #build_shared = True
223    
224    
225    ### ADVANCED OPTIONS ###
226    # Do not change the following options unless you know what they do
227    
228    # Use intel's VSL library for random data
229    # DEFAULT: False
230    #vsl_random = True
231    
232    # Extra libraries to link with
233    #sys_libs = []
234    
235    # Additional environmental variables to export to the tools
236    #env_export = []
237    
238    #tools_names = ['default']
239    
240    #iknowwhatimdoing = False
241    
242  # Configuration for shake24 (MacOS Darwin)  #forcelazy = 'leave_alone'
243    
244  # If you cannot use the default compiler flags set in SConstruct, then change them here  #forcecollres = 'leave_alone'
 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  
 # cc_flags      = '-ansi'  
 # cc_optim      = '-O2'  
 # cc_debug      = '-g'  
 # omp_optim     = '-openmp'  
 # omp_debug     = '-openmp'  
 # omp_libs      = ['guide']  
   
 # Use the default C/C++ flags but add something only for this host:  
 # cc_extra      = '-pedantic -isystem /usr/include/python2.5/ -Wall'  
 # ld_extra      = ''  
   
 # Be picky about errors  
 usepedantic     = 'no'  
   
 # Extra libraries  
 # sys_libs      = []  
   
 # Python libraries  
 python_path     = '/usr/include/python2.5'  
 python_lib_path     = '/usr/lib'  
 # python_libs       = ['python2.5']  
 # python_cmd        = 'python'  
   
 # Boost libraries  
 boost_path      = '/opt/local/include/boost-1_35'  
 boost_lib_path      = '/opt/local/lib'  
 boost_libs      = ['boost_python']  
   
 # Specify whether or not to use VTK  
 usevtk      = 'yes'  
   
 # NetCDF  
 usenetcdf       = 'yes'  
 netCDF_path     = '/opt/local/include'  
 netCDF_lib_path     = '/opt/local/lib'  
 # 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        = '/opt/local/include/umfpack-5.0.3/Include'  
 umf_path        = '/opt/local/include/umfpack-5.0.3/Include'  
 umf_lib_path        = '/opt/local/include/umfpack-5.0.3/Lib'  
 umf_libs        = ['umfpack']  
 amd_path        = '/opt/local/include/umfpack-5.0.3/Include'  
 amd_lib_path        = '/opt/local/include/umfpack-5.0.3/Lib'  
 amd_libs        = ['amd']  
 blas_path       = '/opt/local/include/umfpack-5.0.3/Include'  
 blas_lib_path       = '/opt/local/include/umfpack-5.0.3/Lib'  
 blas_libs       = ['blas']  
   
 # OpenMP  
 # useopenmp     = 'yes'  
   
 # MPI MPT (no module load required)  
 # usempi        = 'no'  
 # mpi_path      = '/usr/include'  
 # mpi_lib_path      = '/usr/lib64'  
 # mpi_libs      = ['mpi']  
 # mpi_run       = 'mpirun -np 1'  
   
 # ParMETIS (for use with MPI)  
 # useparmetis       = 'yes'  
 # parmetis_path     = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'  
 # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'  
 # parmetis_libs     = ['parmetis', 'metis']  
   
 # PAPI  
 # usepapi       = 'no'  
 # papi_path     = '/usr/include'  
 # papi_lib_path     = '/usr/lib64'  
 # papi_libs     = ['papi']  
 # papi_instrument_solver    = 'no'  
245    

Legend:
Removed from v.1954  
changed lines
  Added in v.3981

  ViewVC Help
Powered by ViewVC 1.1.26