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

Contents of /branches/doubleplusgood/scons/standalone_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4345 - (show annotations)
Fri Mar 29 07:09:41 2013 UTC (6 years ago) by jfenwick
File MIME type: text/x-python
File size: 7540 byte(s)
Spelling fixes
1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2013 by University of Queensland
5 # http://www.uq.edu.au
6 #
7 # Primary Business: Queensland, Australia
8 # Licensed under the Open Software License version 3.0
9 # 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 # This is a template configuration file for escript/finley on Linux.
17 # Copy this file to <hostname>_options.py, where <hostname> is your machine's
18 # short hostname, then customize to your needs.
19
20 # PREFIXES:
21 # There are two ways to specify where to find dependent headers and libraries
22 # (via the <dependency>_prefix):
23 # 1) If your installation follows the general scheme where headers are located
24 # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
25 # it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
26 # 2) Otherwise provide a list with two elements, where the first one is the
27 # include path, and the second the library path, e.g.
28 # boost_prefix=['/usr/include/boost1_44', '/usr/lib']
29 # All <dependency>_prefix settings default to '/usr'
30
31 # The options file version. SCons will refuse to build if there have been
32 # changes to the set of variables and your file has not been updated.
33 # This setting is mandatory.
34 escript_opts_version = 201
35
36 # Installation prefix. Files will be installed in subdirectories underneath.
37 # DEFAULT: '.' (current directory)
38 #prefix = '/usr/local'
39
40 # Top-level directory for intermediate build and test files.
41 # DEFAULT: 'build'
42 #build_dir = 'build'
43
44 # C compiler command name or full path.
45 # DEFAULT: auto-detected
46 #cc = 'gcc'
47
48 # C++ compiler command name or full path.
49 # DEFAULT: auto-detected
50 #cxx = 'g++'
51
52 # Flags to use with both C and C++ compilers. Do not set unless you know
53 # what you are doing - use cc_extra to specify additional flags!
54 # DEFAULT: compiler-dependent
55 #cc_flags = ''
56
57 # Additional compiler (optimization) flags for non-debug builds
58 # DEFAULT: compiler-dependent
59 #cc_optim = '-O3 -mmmx -msse'
60
61 # Additional compiler flags for debug builds
62 # DEFAULT: compiler-dependent
63 #cc_debug = '-g'
64
65 # Additional flags to add to the C compiler only
66 # DEFAULT: '' (empty)
67 cc_extra = ''
68
69 # Additional flags to add to the C++ compiler only
70 # DEFAULT: '' (empty)
71 cxx_extra = '-I../pkg/netcdf/include/'
72
73 # Additional flags to add to the linker
74 # DEFAULT: '' (empty)
75 ld_extra = '-L../pkg/boost/lib/ -L../pkg/netcdf/lib/ -L../pkg/python/lib'
76
77 # Whether to treat compiler warnings as errors
78 # DEFAULT: True
79 #werror = False
80
81 # Whether to build a debug version
82 # DEFAULT: False
83 #debug = True
84
85 # Set to True to print the full compiler/linker command line
86 # DEFAULT: False
87 #verbose = True
88
89 # Set to True to add flags that enable OpenMP parallelization
90 # DEFAULT: False
91 #openmp = True
92
93 # Additional compiler flags for OpenMP builds
94 # DEFAULT: compiler-dependent
95 #omp_flags = '-fopenmp'
96
97 # Additional linker flags for OpenMP builds
98 # DEFAULT: compiler-dependent
99 #omp_ldflags = '-fopenmp'
100
101 # Flavour of MPI implementation
102 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
103 # DEFAULT: 'none' (disable MPI)
104 #mpi = 'OPENMPI'
105
106 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
107 #mpi_prefix = '/usr/lib/openmpi'
108
109 # MPI libraries to link against
110 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
111
112 # Prefix or paths to boost-python headers and libraries. See note above.
113 boost_prefix = ['../pkg/boost/include/boost-1_39/', '../pkg/boost/lib/']
114
115
116 # boost-python library/libraries to link against
117 boost_libs = ['boost_python']
118
119 #if this is not 'python' the command will be used instead of the python
120 #version scons is running on
121 #pythoncmd='python'
122
123 #Set to true to build with python3 [You will need to set pythoncmd as well]
124 #usepython3=False
125
126 #name of the python library to link against. For Python2 you should not need
127 #to set this
128 #pythonlibname=''
129
130 # Prefix or paths to CppUnit headers and libraries. See note above.
131 #cppunit_prefix = '/usr/local'
132
133 # CppUnit library/libraries to link against
134 #cppunit_libs = ['cppunit']
135
136 # Whether to use the netCDF library for dump file support
137 # DEFAULT: False
138 netcdf = True
139
140 # Prefix or paths to netCDF headers and libraries. See note above.
141 netcdf_prefix = ['../pkg/netcdf/include/', '../pkg/netcdf/lib/']
142
143
144 # netCDF library/libraries to link against
145 #netcdf_libs = ['netcdf_c++', 'netcdf']
146
147 # Whether to use the parMETIS library (only in conjunction with MPI)
148 # DEFAULT: False
149 #parmetis = True
150
151 # Prefix or paths to parMETIS headers and libraries. See note above.
152 #parmetis_prefix = '/usr/local'
153
154 # parMETIS library/libraries to link against
155 #parmetis_libs = ['parmetis', 'metis']
156
157 # Whether to use the Intel PAPI (Performance API) library
158 # DEFAULT: False
159 #papi = True
160
161 # Prefix or paths to PAPI headers and libraries. See note above.
162 #papi_prefix = '/usr/local'
163
164 # PAPI library/libraries to link against
165 #papi_libs = ['papi']
166
167 # Whether to use PAPI to instrument solver iterations
168 # DEFAULT: False
169 #papi_instrument_solver = True
170
171 # Whether to use Intel MKL (Math Kernel Library)
172 # DEFAULT: False
173 #mkl = True
174
175 # Prefix or paths to MKL headers and libraries. See note above.
176 #mkl_prefix = '/usr'
177
178 # MKL library/libraries to link against
179 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
180
181 # Whether to use UMFPACK (requires AMD and BLAS)
182 # DEFAULT: False
183 #umfpack = True
184
185 # Prefix or paths to UMFPACK headers and libraries. See note above.
186 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
187
188 # UMFPACK library/libraries to link against
189 #umfpack_libs = ['umfpack']
190
191 # Whether to use BoomerAMG (requires MPI)
192 # DEFAULT: False
193 #boomeramg = True
194
195 # Prefix or paths to BoomerAMG headers and libraries. See note above.
196 #boomeramg_prefix = '/usr/local'
197
198 # BoomerAMG library/libraries to link against
199 #boomeramg_libs = ['HYPRE']
200
201 # Flavour of LAPACK implementation
202 # Recognized values: 'none', 'clapack', 'mkl'
203 # DEFAULT: 'none' (do not use LAPACK)
204 #lapack = 'clapack'
205
206 # Prefix or paths to LAPACK headers and libraries. See note above.
207 #lapack_prefix = '/usr/local'
208
209 # LAPACK library/libraries to link against
210 #lapack_libs = ['lapack_atlas']
211
212 # Whether to use LLNL's SILO library for Silo output file support in weipa
213 # DEFAULT: False
214 #silo = True
215
216 # Prefix or paths to SILO headers and libraries. See note above.
217 #silo_prefix = '/usr/local'
218
219 # SILO library/libraries to link against
220 #silo_libs = ['siloh5', 'hdf5']
221
222 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
223 # DEFAULT: False
224 #visit = True
225
226 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
227 #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
228
229 # Sim2 library/libraries to link against
230 #visit_libs = ['simV2']
231
232 # Whether to enable the deprecated PyVisi interface (requires the VTK python
233 # modules)
234 # DEFAULT: False
235 #pyvisi = True
236
237 # Build dynamic libraries only
238 #DEFAULT: False
239 #build_shared = True
240
241
242 ### ADVANCED OPTIONS ###
243 # Do not change the following options unless you know what they do
244
245 # Use intel's VSL library for random data
246 # DEFAULT: False
247 #vsl_random = True
248
249 # Extra libraries to link with
250 #sys_libs = []
251
252 # Additional environmental variables to export to the tools
253 #env_export = []
254
255 #tools_names = ['default']
256
257 #iknowwhatimdoing = False
258
259 #forcelazy = 'leave_alone'
260
261 #forcecollres = 'leave_alone'
262

  ViewVC Help
Powered by ViewVC 1.1.26