1 |
|
2 |
######################################################## |
3 |
# |
4 |
# Copyright (c) 2003-2010 by University of Queensland |
5 |
# 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 |
|
15 |
# |
16 |
# On epic.ivec.org: link this file to epicuser1_options.py and |
17 |
# epicuser2_options.py |
18 |
# |
19 |
|
20 |
# The options file version. SCons will refuse to build if there have been |
21 |
# changes to the set of variables and your file has not been updated. |
22 |
# This setting is mandatory. |
23 |
escript_opts_version = 201 |
24 |
|
25 |
# Installation prefix. Files will be installed in subdirectories underneath. |
26 |
# DEFAULT: '.' (current directory) |
27 |
#prefix = '/opt/escript/3.2.1' |
28 |
|
29 |
# Top-level directory for intermediate build and test files. |
30 |
# DEFAULT: 'build' |
31 |
build_dir = 'build' |
32 |
|
33 |
# C compiler command name or full path. |
34 |
# DEFAULT: auto-detected |
35 |
cc = 'icc' |
36 |
#cc = 'gcc' |
37 |
|
38 |
# C++ compiler command name or full path. |
39 |
# DEFAULT: auto-detected |
40 |
cxx = 'icpc' |
41 |
#cxx = 'g++' |
42 |
|
43 |
# Flags to use with both C and C++ compilers. Do not set unless you know |
44 |
# what you are doing - use cc_extra to specify additional flags! |
45 |
# DEFAULT: compiler-dependent |
46 |
#cc_flags = '' |
47 |
|
48 |
# Additional compiler (optimization) flags for non-debug builds |
49 |
# DEFAULT: compiler-dependent |
50 |
#cc_optim = '-O3 -mmmx -msse' |
51 |
|
52 |
# Additional compiler flags for debug builds |
53 |
# DEFAULT: compiler-dependent |
54 |
cc_debug = '-g' |
55 |
|
56 |
# Additional flags to add to the C compiler only |
57 |
# DEFAULT: '' (empty) |
58 |
cc_extra = '-sox' |
59 |
#cc_extra = '-fopenmp' |
60 |
|
61 |
# Additional flags to add to the C++ compiler only |
62 |
# DEFAULT: '' (empty) |
63 |
cxx_extra = '-sox -I/opt/python-numpy/1.6.1-python-2.6/lib/python2.6/site-packages/numpy/core/include' |
64 |
#cxx_extra = '-fopenmp' |
65 |
|
66 |
# Additional flags to add to the linker |
67 |
# DEFAULT: '' (empty) |
68 |
ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/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 = '-openmp -openmp-report2' |
89 |
|
90 |
# Additional linker flags for OpenMP builds |
91 |
# DEFAULT: compiler-dependent |
92 |
#omp_ldflags = '-openmp' |
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 = '/opt/mpi/intel/openmpi/1.4.3-11.1' |
101 |
mpi_prefix = '/opt/mpi/gcc/openmpi/1.4.3' |
102 |
|
103 |
# MPI libraries to link against |
104 |
#mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal'] |
105 |
|
106 |
# Prefix or paths to python headers and libraries. See note above. |
107 |
# By default, this is determined using the running python executable. |
108 |
#python_prefix = '/opt/python/2.6.7' |
109 |
|
110 |
# Prefix or paths to boost-python headers and libraries. See note above. |
111 |
boost_prefix = '/opt/boost/1.46.1-python-2.6' |
112 |
|
113 |
# boost-python library/libraries to link against |
114 |
boost_libs = ['boost_python'] |
115 |
|
116 |
# Prefix or paths to CppUnit headers and libraries. See note above. |
117 |
cppunit_prefix = '/opt/cppunit/1.12.1' |
118 |
|
119 |
# CppUnit library/libraries to link against |
120 |
#cppunit_libs = ['cppunit'] |
121 |
|
122 |
|
123 |
# Whether to use the netCDF library for dump file support |
124 |
# DEFAULT: False |
125 |
netcdf = True |
126 |
|
127 |
# Prefix or paths to netCDF headers and libraries. See note above. |
128 |
netcdf_prefix = '/opt/netcdf/4.0.1' |
129 |
|
130 |
# netCDF library/libraries to link against |
131 |
netcdf_libs = ['netcdf_c++', 'netcdf'] |
132 |
|
133 |
# Whether to use the parMETIS library (only in conjunction with MPI) |
134 |
# DEFAULT: False |
135 |
parmetis = True |
136 |
|
137 |
# Prefix or paths to parMETIS headers and libraries. See note above. |
138 |
parmetis_prefix = '/opt/parmetis/3.1.1' |
139 |
|
140 |
# parMETIS library/libraries to link against |
141 |
parmetis_libs = ['parmetis', 'metis'] |
142 |
|
143 |
# Whether to use the Intel PAPI (Performance API) library |
144 |
# DEFAULT: False |
145 |
#papi = True |
146 |
|
147 |
# Prefix or paths to PAPI headers and libraries. See note above. |
148 |
#papi_prefix = '/usr/local' |
149 |
|
150 |
# PAPI library/libraries to link against |
151 |
#papi_libs = ['papi'] |
152 |
|
153 |
# Whether to use PAPI to instrument solver iterations |
154 |
# DEFAULT: False |
155 |
#papi_instrument_solver = True |
156 |
|
157 |
# Whether to use Intel MKL (Math Kernel Library) |
158 |
# DEFAULT: False |
159 |
mkl = True |
160 |
|
161 |
# Prefix or paths to MKL headers and libraries. See note above. |
162 |
mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64'] |
163 |
|
164 |
# MKL library/libraries to link against |
165 |
#mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread'] |
166 |
mkl_libs = ['mkl_intel_lp64', 'mkl_sequential', 'mkl_core', 'pthread'] |
167 |
|
168 |
# Whether to use UMFPACK (requires AMD and BLAS) |
169 |
# DEFAULT: False |
170 |
#umfpack = True |
171 |
|
172 |
# Prefix or paths to UMFPACK headers and libraries. See note above. |
173 |
#umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib'] |
174 |
|
175 |
# UMFPACK library/libraries to link against |
176 |
#umfpack_libs = ['umfpack'] |
177 |
|
178 |
# Flavour of LAPACK implementation |
179 |
# Recognized values: 'none', 'clapack', 'mkl' |
180 |
# DEFAULT: 'none' (do not use LAPACK) |
181 |
lapack = 'mkl' |
182 |
|
183 |
# Prefix or paths to LAPACK headers and libraries. See note above. |
184 |
lapack_prefix = mkl_prefix |
185 |
|
186 |
# LAPACK library/libraries to link against |
187 |
#lapack_libs = ['mkl_rt'] |
188 |
lapack_libs = ['mkl_core'] |
189 |
|
190 |
# Whether to use LLNL's SILO library for Silo output file support in weipa |
191 |
# DEFAULT: False |
192 |
silo = True |
193 |
|
194 |
# Prefix or paths to SILO headers and libraries. See note above. |
195 |
silo_prefix = '/opt/silo/4.7.2' |
196 |
|
197 |
# SILO library/libraries to link against |
198 |
silo_libs = ['siloh5', 'hdf5'] |
199 |
|
200 |
# Whether to use LLNL's VisIt simulation interface (only version 2 supported) |
201 |
# DEFAULT: False |
202 |
visit = True |
203 |
|
204 |
# Prefix or paths to VisIt's sim2 headers and libraries. See note above. |
205 |
visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2' |
206 |
|
207 |
# Sim2 library/libraries to link against |
208 |
#visit_libs = ['simV2'] |
209 |
|
210 |
# Whether to enable the deprecated PyVisi interface (requires the VTK python |
211 |
# modules) |
212 |
# DEFAULT: False |
213 |
#pyvisi = True |
214 |
|
215 |
# Whether to use BoomerAMG (requires MPI) |
216 |
# DEFAULT: False |
217 |
#boomeramg = True |
218 |
|
219 |
# Prefix or paths to BoomerAMG headers and libraries. See note above. |
220 |
#boomeramg_prefix = '/opt/hypre/2.0.0' |
221 |
|
222 |
# BoomerAMG library/libraries to link against |
223 |
#boomeramg_libs = ['HYPRE'] |
224 |
#boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls'] |
225 |
|
226 |
|
227 |
### ADVANCED OPTIONS ### |
228 |
# Do not change the following options unless you know what they do |
229 |
|
230 |
# Extra libraries to link with |
231 |
#sys_libs = [] |
232 |
|
233 |
# Additional environmental variables to export to the tools |
234 |
#env_export = [] |
235 |
|
236 |
# Build a shared esysUtils library |
237 |
#share_esysutils = True |
238 |
|
239 |
# Build a shared paso library |
240 |
#share_paso = True |
241 |
|
242 |
#tools_names = ['default'] |
243 |
|
244 |
#iknowwhatimdoing = False |
245 |
|
246 |
#forcelazy = 'leave_alone' |
247 |
|
248 |
#forcecollres = 'leave_alone' |
249 |
|