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

Contents of /trunk/scons/standalone_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4520 - (show annotations)
Thu Aug 22 06:42:57 2013 UTC (5 years, 7 months ago) by caltinay
File MIME type: text/x-python
File size: 7243 byte(s)
Removing spurious usage of C compiler:
-Changed all scons tests to use C++ compiler
-Renamed paso profiling files (unused)
-Updated most options files (removal of options and updated comments)

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

  ViewVC Help
Powered by ViewVC 1.1.26