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

Contents of /trunk/scons/standalone_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6112 - (show annotations)
Thu Mar 31 09:40:10 2016 UTC (3 years, 2 months ago) by jfenwick
File MIME type: text/x-python
File size: 7236 byte(s)
Relicense all the things!


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

  ViewVC Help
Powered by ViewVC 1.1.26