/[escript]/trunk/scons/templates/homebrew_10.10_options.py
ViewVC logotype

Contents of /trunk/scons/templates/homebrew_10.10_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5775 - (show annotations)
Thu Jul 30 08:01:06 2015 UTC (3 years, 10 months ago) by sshaw
File MIME type: text/x-python
File size: 8014 byte(s)
pushing release to trunk
1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2015 by The 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 2012-2013 by School of Earth Sciences
13 # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 #
15 ##############################################################################
16
17 # This is a template configuration file for escript/finley on Linux.
18 # Copy this file to <hostname>_options.py, where <hostname> is your machine's
19 # short hostname, then customize to your needs.
20
21 # PREFIXES:
22 # There are two ways to specify where to find dependent headers and libraries
23 # (via the <dependency>_prefix):
24 # 1) If your installation follows the general scheme where headers are located
25 # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
26 # it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
27 # 2) Otherwise provide a list with two elements, where the first one is the
28 # include path, and the second the library path, e.g.
29 # boost_prefix=['/usr/include/boost1_44', '/usr/lib']
30 # All <dependency>_prefix settings default to '/usr'
31
32 # The options file version. SCons will refuse to build if there have been
33 # changes to the set of variables and your file has not been updated.
34 # This setting is mandatory.
35 escript_opts_version = 202
36
37 # Installation prefix. Files will be installed in subdirectories underneath.
38 # DEFAULT: '.' (current directory)
39 #prefix = '/usr/local'
40
41 # Top-level directory for intermediate build and test files.
42 # DEFAULT: 'build'
43 #build_dir = 'build'
44
45 # C compiler command name or full path.
46 # DEFAULT: auto-detected
47 #cc = 'gcc'
48
49 # C++ compiler command name or full path.
50 # DEFAULT: auto-detected
51 #cxx = 'g++'
52
53 # Flags to use with both C and C++ compilers. Do not set unless you know
54 # what you are doing - use cc_extra to specify additional flags!
55 # DEFAULT: compiler-dependent
56 #cc_flags = ''
57 cc_flags = "-pedantic -Wall -fPIC -Wno-unknown-pragmas -Wno-sign-compare -Wno-system-headers -Wno-long-long -Wno-strict-aliasing"
58
59 # Additional compiler (optimization) flags for non-debug builds
60 # DEFAULT: compiler-dependent
61 #cc_optim = '-O3 -mmmx -msse'
62
63 # Additional compiler flags for debug builds
64 # DEFAULT: compiler-dependent
65 #cc_debug = '-g'
66
67 # Additional flags to add to the C compiler only
68 # DEFAULT: '' (empty)
69 #cc_extra = ''
70
71 # Additional flags to add to the C++ compiler only
72 # DEFAULT: '' (empty)
73 cxx_extra = '-Wno-c99-extensions'
74
75 # Additional flags to add to the linker
76 # DEFAULT: '' (empty)
77 #ld_extra = ''
78
79 # Whether to treat compiler warnings as errors
80 # DEFAULT: True
81 #werror = False
82
83 # Whether to build a debug version
84 # DEFAULT: False
85 #debug = True
86
87 # Set to True to print the full compiler/linker command line
88 # DEFAULT: False
89 #verbose = True
90
91 # Set to True to add flags that enable OpenMP parallelization
92 # DEFAULT: False
93 #openmp = True
94
95 # Additional compiler flags for OpenMP builds
96 # DEFAULT: compiler-dependent
97 #omp_flags = '-fopenmp'
98
99 # Additional linker flags for OpenMP builds
100 # DEFAULT: compiler-dependent
101 #omp_ldflags = '-fopenmp'
102
103 # Flavour of MPI implementation
104 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
105 # DEFAULT: 'none' (disable MPI)
106 #mpi = 'OPENMPI'
107
108 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
109 mpi_prefix = '/usr/local'
110
111 # MPI libraries to link against
112 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
113
114 # Prefix or paths to boost-python headers and libraries. See note above.
115 boost_prefix = '/usr/local'
116
117 # boost-python library/libraries to link against
118 #boost_libs = ['boost_python-mt']
119
120 #if this is not 'python' the command will be used instead of the python
121 #version scons is running on
122 #pythoncmd='python'
123
124 #Set to true to build with python3 [You will need to set pythoncmd as well]
125 #usepython3=False
126
127 #name of the python library to link against. For Python2 you should not need
128 #to set this
129 #pythonlibname=''
130
131 # Prefix or paths to CppUnit headers and libraries. See note above.
132 cppunit_prefix = '/usr/local'
133
134 # CppUnit library/libraries to link against
135 #cppunit_libs = ['cppunit']
136
137 # Whether to use the netCDF library for dump file support
138 # DEFAULT: False
139 netcdf = True
140
141 # Prefix or paths to netCDF headers and libraries. See note above.
142 netcdf_prefix = '/usr/local'
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 # Build dynamic libraries only
233 #DEFAULT: False
234 #build_shared = True
235
236
237 ### ADVANCED OPTIONS ###
238 # Do not change the following options unless you know what they do
239
240 # launcher, prelaunch, postlaunch: for MPI builds/batch system runs
241 # the following substitutions are applied to all three:
242 # %b = executable, %n = number of nodes, %p = number of processes,
243 # %N = total number of processes, # %t = number of threads,
244 # %f = name of hostfile, %h = comma-separated list of hosts,
245 # %e = comma-separated list of environment variables to export
246 #prelaunch = "EE=$(echo %e|sed -e 's/,/ -x /g')"
247 #launcher = "mpirun --gmca mpi_warn_on_fork 0 -x ${EE} --bynode --bind-to-none --host %h -np %N %b"
248 #postlaunch = ""
249
250 # Use intel's VSL library for random data
251 # DEFAULT: False
252 #vsl_random = True
253
254 # Extra libraries to link with
255 #sys_libs = []
256
257 # Additional environmental variables to export to the tools
258 #env_export = []
259
260 #tools_names = ['default']
261
262 #iknowwhatimdoing = False
263
264 #forcelazy = 'leave_alone'
265
266 #forcecollres = 'leave_alone'
267

  ViewVC Help
Powered by ViewVC 1.1.26