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

Contents of /trunk/scons/shake24_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3597 - (show annotations)
Thu Sep 15 06:03:17 2011 UTC (7 years, 7 months ago) by caltinay
File MIME type: text/x-python
File size: 6877 byte(s)
Switching to external cppunit:
-removed tools/CppUnitTest
-updated scons script and files
-updated tests to changed API
-updated readme

Bumped scons options file version to 201. Additions:
-cppunit*
-boomeramg*
-vsl_random


1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
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 = 201
29
30 # Installation prefix. Files will be installed in subdirectories underneath.
31 # DEFAULT: '.' (current directory)
32 #prefix = '/usr/local'
33
34 # Top-level directory for intermediate build and test files.
35 # DEFAULT: 'build'
36 #build_dir = 'build'
37
38 # C compiler command name or full path.
39 # DEFAULT: auto-detected
40 #cc = 'gcc'
41
42 # C++ compiler command name or full path.
43 # DEFAULT: auto-detected
44 #cxx = 'g++'
45
46 # Flags to use with both C and C++ compilers. Do not set unless you know
47 # what you are doing - use cc_extra to specify additional flags!
48 # DEFAULT: compiler-dependent
49 #cc_flags = ''
50
51 # Additional compiler (optimization) flags for non-debug builds
52 # DEFAULT: compiler-dependent
53 #cc_optim = '-O3 -mmmx -msse'
54
55 # Additional compiler flags for debug builds
56 # DEFAULT: compiler-dependent
57 #cc_debug = '-g'
58
59 # Additional flags to add to the C compiler only
60 # DEFAULT: '' (empty)
61 #cc_extra = ''
62
63 # Additional flags to add to the C++ compiler only
64 # DEFAULT: '' (empty)
65 #cxx_extra = ''
66
67 # Additional flags to add to the linker
68 # DEFAULT: '' (empty)
69 ld_extra = '-L/usr/lib'
70
71 # Whether to treat compiler warnings as errors
72 # DEFAULT: True
73 werror = False
74
75 # Whether to build a debug version
76 # DEFAULT: False
77 #debug = True
78
79 # Set to True to print the full compiler/linker command line
80 # DEFAULT: False
81 #verbose = True
82
83 # Set to True to add flags that enable OpenMP parallelization
84 # DEFAULT: False
85 #openmp = True
86
87 # Additional compiler flags for OpenMP builds
88 # DEFAULT: compiler-dependent
89 #omp_flags = '-fopenmp'
90
91 # Additional linker flags for OpenMP builds
92 # DEFAULT: compiler-dependent
93 #omp_ldflags = '-fopenmp'
94
95 # Flavour of MPI implementation
96 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
97 # DEFAULT: 'none' (disable MPI)
98 #mpi = 'OPENMPI'
99
100 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
101 #mpi_prefix = '/usr'
102
103 # MPI libraries to link against
104 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
105
106 # Prefix or paths to boost-python headers and libraries. See note above.
107 boost_prefix = ['/usr/local/include/boost-1_38', '/usr/local/lib']
108
109 # boost-python library/libraries to link against
110 boost_libs = ['boost_python-xgcc40-mt']
111
112 # Prefix or paths to CppUnit headers and libraries. See note above.
113 #cppunit_prefix = '/usr/local'
114
115 # CppUnit library/libraries to link against
116 #cppunit_libs = ['cppunit']
117
118 # Whether to use the netCDF library for dump file support
119 # DEFAULT: False
120 netcdf = True
121
122 # Prefix or paths to netCDF headers and libraries. See note above.
123 netcdf_prefix = '/opt/local'
124
125 # netCDF library/libraries to link against
126 #netcdf_libs = ['netcdf_c++', 'netcdf']
127
128 # Whether to use the parMETIS library (only in conjunction with MPI)
129 # DEFAULT: False
130 #parmetis = True
131
132 # Prefix or paths to parMETIS headers and libraries. See note above.
133 #parmetis_prefix = '/usr/local'
134
135 # parMETIS library/libraries to link against
136 #parmetis_libs = ['parmetis', 'metis']
137
138 # Whether to use the Intel PAPI (Performance API) library
139 # DEFAULT: False
140 #papi = True
141
142 # Prefix or paths to PAPI headers and libraries. See note above.
143 #papi_prefix = '/usr/local'
144
145 # PAPI library/libraries to link against
146 #papi_libs = ['papi']
147
148 # Whether to use PAPI to instrument solver iterations
149 # DEFAULT: False
150 #papi_instrument_solver = True
151
152 # Whether to use Intel MKL (Math Kernel Library)
153 # DEFAULT: False
154 #mkl = True
155
156 # Prefix or paths to MKL headers and libraries. See note above.
157 #mkl_prefix = '/usr'
158
159 # MKL library/libraries to link against
160 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
161
162 # Whether to use UMFPACK (requires AMD and BLAS)
163 # DEFAULT: False
164 umfpack = True
165
166 # Prefix or paths to UMFPACK headers and libraries. See note above.
167 umfpack_prefix = ['/opt/local/include/umfpack-5.0.3/Include', '/opt/local/include/umfpack-5.0.3/Lib']
168
169 # UMFPACK library/libraries to link against
170 umfpack_libs = ['umfpack', 'amd', 'blas']
171
172 # Whether to use BoomerAMG (requires MPI)
173 # DEFAULT: False
174 #boomeramg = True
175
176 # Prefix or paths to BoomerAMG headers and libraries. See note above.
177 #boomeramg_prefix = '/usr/include'
178
179 # BoomerAMG library/libraries to link against
180 #boomeramg_libs = ['HYPRE']
181
182 # Flavour of LAPACK implementation
183 # Recognized values: 'none', 'clapack', 'mkl'
184 # DEFAULT: 'none' (do not use LAPACK)
185 #lapack = 'clapack'
186
187 # Prefix or paths to LAPACK headers and libraries. See note above.
188 #lapack_prefix = '/usr/local'
189
190 # LAPACK library/libraries to link against
191 #lapack_libs = ['lapack_atlas']
192
193 # Whether to use LLNL's SILO library for Silo output file support in weipa
194 # DEFAULT: False
195 #silo = True
196
197 # Prefix or paths to SILO headers and libraries. See note above.
198 #silo_prefix = '/usr/local'
199
200 # SILO library/libraries to link against
201 #silo_libs = ['siloh5', 'hdf5']
202
203 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
204 # DEFAULT: False
205 #visit = True
206
207 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
208 #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
209
210 # Sim2 library/libraries to link against
211 #visit_libs = ['simV2']
212
213 # Whether to enable the deprecated PyVisi interface (requires the VTK python
214 # modules)
215 # DEFAULT: False
216 #pyvisi = True
217
218
219 ### ADVANCED OPTIONS ###
220 # Do not change the following options unless you know what they do
221
222 # Use intel's VSL library for random data
223 # DEFAULT: False
224 #vsl_random = True
225
226 # Extra libraries to link with
227 #sys_libs = []
228
229 # Additional environmental variables to export to the tools
230 #env_export = []
231
232 # Build a shared esysUtils library
233 #share_esysutils = True
234
235 # Build a shared paso library
236 #share_paso = True
237
238 #tools_names = ['default']
239
240 #iknowwhatimdoing = False
241
242 #forcelazy = 'leave_alone'
243
244 #forcecollres = 'leave_alone'
245

  ViewVC Help
Powered by ViewVC 1.1.26