/[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 1902 by artak, Wed Oct 22 03:54:14 2008 UTC revision 3349 by caltinay, Mon Nov 15 05:09:56 2010 UTC
# Line 1  Line 1 
1    
2  ########################################################  ########################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2010 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # Earth Systems Science Computational Center (ESSCC)
6  # http://www.uq.edu.au/esscc  # http://www.uq.edu.au/esscc
7  #  #
# 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  # Configuration for shake24 (MacOS Darwin)  # 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  # If you cannot use the default compiler flags set in SConstruct, then change them here  # Installation prefix. Files will be installed in subdirectories underneath.
31  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  # DEFAULT: '.' (current directory)
32  # cc_flags      = '-ansi'  #prefix = '/usr/local'
33  # cc_optim      = '-O2'  
34  # cc_debug      = '-g'  # Top-level directory for intermediate build and test files.
35  # omp_optim     = '-openmp'  # DEFAULT: 'build'
36  # omp_debug     = '-openmp'  #build_dir = 'build'
37  # omp_libs      = ['guide']  
38    # C compiler command name or full path.
39  # Use the default C/C++ flags but add something only for this host:  # DEFAULT: auto-detected
40  # cc_extra      = ''  #cc = 'gcc'
41  # ld_extra      = ''  
42    # C++ compiler command name or full path.
43  # Be picky about errors  # DEFAULT: auto-detected
44  usepedantic     = 'no'  #cxx = 'g++'
45    
46  # Extra libraries  # Flags to use with both C and C++ compilers. Do not set unless you know
47  # sys_libs      = []  # what you are doing - use cc_extra to specify additional flags!
48    # DEFAULT: compiler-dependent
49  # Python libraries  #cc_flags = ''
50  python_path     = '/usr/include/python2.5'  
51  python_lib_path     = '/usr/lib'  # Additional compiler (optimization) flags for non-debug builds
52  # python_libs       = ['python2.5']  # DEFAULT: compiler-dependent
53  # python_cmd        = 'python'  #cc_optim = '-O3 -mmmx -msse'
54    
55  # Boost libraries  # Additional compiler flags for debug builds
56  boost_path      = '/opt/local/include/boost-1_35'  # DEFAULT: compiler-dependent
57  boost_lib_path      = '/opt/local/lib'  #cc_debug = '-g'
58  boost_libs      = ['boost_python']  
59    # Additional flags to add to the C compiler only
60  # Specify whether or not to use VTK  # DEFAULT: '' (empty)
61  usevtk      = 'yes'  #cc_extra = ''
62    
63  # NetCDF  # Additional flags to add to the C++ compiler only
64  # usenetcdf     = 'yes'  # DEFAULT: '' (empty)
65  netCDF_path     = '/opt/local/include'  #cxx_extra = ''
66  netCDF_lib_path     = '/opt/local/lib'  
67  # netCDF_libs       = ['netcdf_c++', 'netcdf']  # Additional flags to add to the linker
68    # DEFAULT: '' (empty)
69  # MKL  #ld_extra = ''
70  # usemkl        = 'yes'  
71  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'  # Whether to treat compiler warnings as errors
72  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  # DEFAULT: True
73  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  #werror = False
74    
75  # UMFPACK (requires AMD and BLAS)  # Whether to build a debug version
76  # useumfpack        = 'yes'  # DEFAULT: False
77  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  #debug = True
78  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
79  # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # Set to True to print the full compiler/linker command line
80  # umf_libs      = ['umfpack']  # DEFAULT: False
81  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  #verbose = True
82  # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  
83  # amd_libs      = ['amd']  # Set to True to add flags that enable OpenMP parallelization
84  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # DEFAULT: False
85  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  #openmp = True
86  # blas_libs     = ['blas']  
87    # Additional compiler flags for OpenMP builds
88  # OpenMP  # DEFAULT: compiler-dependent
89  # useopenmp     = 'yes'  #omp_flags = '-fopenmp'
90    
91  # MPI MPT (no module load required)  # Additional linker flags for OpenMP builds
92  # usempi        = 'no'  # DEFAULT: compiler-dependent
93  # mpi_path      = '/usr/include'  #omp_ldflags = '-fopenmp'
94  # mpi_lib_path      = '/usr/lib64'  
95  # mpi_libs      = ['mpi']  # Flavour of MPI implementation
96  # mpi_run       = 'mpirun -np 1'  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
97    # DEFAULT: 'none' (disable MPI)
98  # ParMETIS (for use with MPI)  #mpi = 'OPENMPI'
99  # useparmetis       = 'yes'  
100  # parmetis_path     = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'  # Prefix or paths to MPI headers and libraries. See note above about prefixes.
101  # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'  #mpi_prefix = '/usr'
102  # parmetis_libs     = ['parmetis', 'metis']  
103    # MPI libraries to link against
104  # PAPI  #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
105  # usepapi       = 'no'  
106  # papi_path     = '/usr/include'  # Prefix or paths to boost-python headers and libraries. See note above.
107  # papi_lib_path     = '/usr/lib64'  boost_prefix = ['/usr/local/include/boost-1_38', '/usr/local/lib']
108  # papi_libs     = ['papi']  
109  # papi_instrument_solver    = 'no'  # boost-python library/libraries to link against
110    boost_libs = ['boost_python-xgcc40-mt']
111    
112    # Whether to use the netCDF library for dump file support
113    # DEFAULT: False
114    netcdf = True
115    
116    # Prefix or paths to netCDF headers and libraries. See note above.
117    netcdf_prefix = '/opt/local'
118    
119    # netCDF library/libraries to link against
120    #netcdf_libs = ['netcdf_c++', 'netcdf']
121    
122    # Whether to use the parMETIS library (only in conjunction with MPI)
123    # DEFAULT: False
124    #parmetis = True
125    
126    # Prefix or paths to parMETIS headers and libraries. See note above.
127    #parmetis_prefix = '/usr/local'
128    
129    # parMETIS library/libraries to link against
130    #parmetis_libs = ['parmetis', 'metis']
131    
132    # Whether to use the Intel PAPI (Performance API) library
133    # DEFAULT: False
134    #papi = True
135    
136    # Prefix or paths to PAPI headers and libraries. See note above.
137    #papi_prefix = '/usr/local'
138    
139    # PAPI library/libraries to link against
140    #papi_libs = ['papi']
141    
142    # Whether to use PAPI to instrument solver iterations
143    # DEFAULT: False
144    #papi_instrument_solver = True
145    
146    # Whether to use Intel MKL (Math Kernel Library)
147    # DEFAULT: False
148    #mkl = True
149    
150    # Prefix or paths to MKL headers and libraries. See note above.
151    #mkl_prefix = '/usr'
152    
153    # MKL library/libraries to link against
154    #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
155    
156    # Whether to use UMFPACK (requires AMD and BLAS)
157    # DEFAULT: False
158    umfpack = True
159    
160    # Prefix or paths to UMFPACK headers and libraries. See note above.
161    umfpack_prefix = ['/opt/local/include/umfpack-5.0.3/Include', '/opt/local/include/umfpack-5.0.3/Lib']
162    
163    # UMFPACK library/libraries to link against
164    umfpack_libs = ['umfpack', 'amd', 'blas']
165    
166    # Flavour of LAPACK implementation
167    # Recognized values: 'none', 'clapack', 'mkl'
168    # DEFAULT: 'none' (do not use LAPACK)
169    #lapack = 'clapack'
170    
171    # Prefix or paths to LAPACK headers and libraries. See note above.
172    #lapack_prefix = '/usr/local'
173    
174    # LAPACK library/libraries to link against
175    #lapack_libs = ['lapack_atlas']
176    
177    # Whether to use LLNL's SILO library for Silo output file support in weipa
178    # DEFAULT: False
179    #silo = True
180    
181    # Prefix or paths to SILO headers and libraries. See note above.
182    #silo_prefix = '/usr/local'
183    
184    # SILO library/libraries to link against
185    #silo_libs = ['siloh5', 'hdf5']
186    
187    # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
188    # DEFAULT: False
189    #visit = True
190    
191    # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
192    #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
193    
194    # Sim2 library/libraries to link against
195    #visit_libs = ['simV2']
196    
197    # Whether to enable the deprecated PyVisi interface (requires the VTK python
198    # modules)
199    # DEFAULT: False
200    #pyvisi = True
201    
202    
203    ### ADVANCED OPTIONS ###
204    # Do not change the following options unless you know what they do
205    
206    # Extra libraries to link with
207    #sys_libs = []
208    
209    # Additional environmental variables to export to the tools
210    #env_export = []
211    
212    # Build a shared esysUtils library
213    #share_esysutils = True
214    
215    # Build a shared paso library
216    #share_paso = True
217    
218    #tools_names = ['default']
219    
220    #iknowwhatimdoing = False
221    
222    #forcelazy = 'leave_alone'
223    
224    #forcecollres = 'leave_alone'
225    

Legend:
Removed from v.1902  
changed lines
  Added in v.3349

  ViewVC Help
Powered by ViewVC 1.1.26