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