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 |
# 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 |
escript_opts_version = 201 |
18 |
|
19 |
# Installation prefix. Files will be installed in subdirectories underneath. |
20 |
# DEFAULT: '.' (current directory) |
21 |
#prefix = '/usr/local' |
22 |
|
23 |
# Top-level directory for intermediate build and test files. |
24 |
# DEFAULT: 'build' |
25 |
#build_dir = 'build' |
26 |
|
27 |
# C compiler command name or full path. |
28 |
# DEFAULT: auto-detected |
29 |
#cc = 'gcc' |
30 |
|
31 |
# C++ compiler command name or full path. |
32 |
# DEFAULT: auto-detected |
33 |
#cxx = 'g++' |
34 |
|
35 |
# 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 |
|
40 |
# Additional compiler (optimization) flags for non-debug builds |
41 |
# DEFAULT: compiler-dependent |
42 |
#cc_optim = '-O3 -mmmx -msse' |
43 |
|
44 |
# Additional compiler flags for debug builds |
45 |
# DEFAULT: compiler-dependent |
46 |
#cc_debug = '-g' |
47 |
|
48 |
# Additional flags to add to the C compiler only |
49 |
# DEFAULT: '' (empty) |
50 |
cc_extra = '-sox' # embed compiler info in binaries |
51 |
|
52 |
# Additional flags to add to the C++ compiler only |
53 |
# DEFAULT: '' (empty) |
54 |
cxx_extra = '-sox' # embed compiler info in binaries |
55 |
|
56 |
# Additional flags to add to the linker |
57 |
# DEFAULT: '' (empty) |
58 |
ld_extra = '-shared-intel' # fix warning about feupdate in icc v10 |
59 |
|
60 |
# Whether to treat compiler warnings as errors |
61 |
# DEFAULT: True |
62 |
werror = False |
63 |
|
64 |
# Whether to build a debug version |
65 |
# DEFAULT: False |
66 |
# debug = True |
67 |
|
68 |
# Set to True to print the full compiler/linker command line |
69 |
# DEFAULT: False |
70 |
verbose = True |
71 |
|
72 |
# Set to True to add flags that enable OpenMP parallelization |
73 |
# DEFAULT: False |
74 |
openmp = True |
75 |
|
76 |
# Additional compiler flags for OpenMP builds |
77 |
# DEFAULT: compiler-dependent |
78 |
omp_flags = '-openmp -openmp-report2' |
79 |
|
80 |
# Additional linker flags for OpenMP builds |
81 |
# DEFAULT: compiler-dependent |
82 |
#omp_ldflags = '-fopenmp' |
83 |
|
84 |
# Flavour of MPI implementation |
85 |
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI' |
86 |
# DEFAULT: 'none' (disable MPI) |
87 |
mpi = 'INTELMPI' |
88 |
#mpi = 'none' |
89 |
|
90 |
# Prefix or paths to MPI headers and libraries. See note above about prefixes. |
91 |
mpi_prefix = ['/sw/sdev/intel/impi/4.0.0.027/include64', '/sw/sdev/intel/impi/4.0.0.027/lib64'] |
92 |
|
93 |
# MPI libraries to link against |
94 |
mpi_libs = ['mpi'] |
95 |
|
96 |
# Prefix or paths to boost-python headers and libraries. See note above. |
97 |
boost_prefix = '/sw/libs/boost/x86_64/gcc-4.3.2/python-2.6.5/boost_1_42_0' |
98 |
|
99 |
# boost-python library/libraries to link against |
100 |
boost_libs = ['boost_python-gcc43-mt'] |
101 |
|
102 |
# Prefix or paths to CppUnit headers and libraries. See note above. |
103 |
cppunit_prefix = '/sw/apps/cppunit/x86_64/gcc-4.3.2/cppunit-1.12.1' |
104 |
|
105 |
# CppUnit library/libraries to link against |
106 |
#cppunit_libs = ['cppunit'] |
107 |
|
108 |
# Whether to use the netCDF library for dump file support |
109 |
# DEFAULT: False |
110 |
netcdf = True |
111 |
|
112 |
# Prefix or paths to netCDF headers and libraries. See note above. |
113 |
netcdf_prefix = '/sw/libs/netcdf/x86_64/gcc-4.3.2/netcdf-4.1.1' |
114 |
|
115 |
# netCDF library/libraries to link against |
116 |
#netcdf_libs = ['netcdf_c++', 'netcdf'] |
117 |
|
118 |
# Whether to use the parMETIS library (only in conjunction with MPI) |
119 |
# DEFAULT: False |
120 |
parmetis = True |
121 |
|
122 |
# Prefix or paths to parMETIS headers and libraries. See note above. |
123 |
parmetis_prefix = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1' |
124 |
|
125 |
# parMETIS library/libraries to link against |
126 |
#parmetis_libs = ['parmetis', 'metis'] |
127 |
|
128 |
# Whether to use the Intel PAPI (Performance API) library |
129 |
# DEFAULT: False |
130 |
#papi = True |
131 |
|
132 |
# Prefix or paths to PAPI headers and libraries. See note above. |
133 |
#papi_prefix = '/usr/local' |
134 |
|
135 |
# PAPI library/libraries to link against |
136 |
#papi_libs = ['papi'] |
137 |
|
138 |
# Whether to use PAPI to instrument solver iterations |
139 |
# DEFAULT: False |
140 |
#papi_instrument_solver = True |
141 |
|
142 |
# Whether to use Intel MKL (Math Kernel Library) |
143 |
# DEFAULT: False |
144 |
mkl = True |
145 |
|
146 |
# Prefix or paths to MKL headers and libraries. See note above. |
147 |
mkl_prefix = ['/sw/sdev/intel/mkl/10.2.5.035/include', '/sw/sdev/intel/mkl/10.2.5.035/lib/em64t'] |
148 |
|
149 |
# MKL library/libraries to link against |
150 |
mkl_libs = ['mkl_core', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_lapack', 'guide', 'pthread', 'mkl_mc', 'mkl_def'] |
151 |
|
152 |
# Whether to use UMFPACK (requires AMD and BLAS) |
153 |
# DEFAULT: False |
154 |
umfpack = True |
155 |
|
156 |
# Prefix or paths to UMFPACK headers and libraries. See note above. |
157 |
umfpack_prefix = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2' |
158 |
|
159 |
# UMFPACK library/libraries to link against |
160 |
umfpack_libs = ['umfpack', 'amd', 'blas'] |
161 |
|
162 |
# Whether to use BoomerAMG (requires MPI) |
163 |
# DEFAULT: False |
164 |
#boomeramg = True |
165 |
|
166 |
# Prefix or paths to BoomerAMG headers and libraries. See note above. |
167 |
boomeramg_prefix = '/sw/libs/hypre/x86_64/gcc-4.3.2/hypre-2.0.0' |
168 |
|
169 |
# BoomerAMG library/libraries to link against |
170 |
boomeramg_libs = ['HYPRE'] |
171 |
#boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls'] |
172 |
|
173 |
# Flavour of LAPACK implementation |
174 |
# Recognized values: 'none', 'clapack', 'mkl' |
175 |
# DEFAULT: 'none' (do not use LAPACK) |
176 |
lapack = 'mkl' |
177 |
#lapack = 'none' |
178 |
|
179 |
# Prefix or paths to LAPACK headers and libraries. See note above. |
180 |
lapack_prefix = mkl_prefix |
181 |
|
182 |
# LAPACK library/libraries to link against |
183 |
lapack_libs = ['mkl_lapack'] |
184 |
|
185 |
# Whether to use LLNL's SILO library for Silo output file support in weipa |
186 |
# DEFAULT: False |
187 |
silo = True |
188 |
|
189 |
# Prefix or paths to SILO headers and libraries. See note above. |
190 |
silo_prefix = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.8' |
191 |
|
192 |
# SILO library/libraries to link against |
193 |
silo_libs = ['siloh5', 'hdf5'] |
194 |
|
195 |
# Whether to use LLNL's VisIt simulation interface (only version 2 supported) |
196 |
# DEFAULT: False |
197 |
visit = True |
198 |
|
199 |
# Prefix or paths to VisIt's sim2 headers and libraries. See note above. |
200 |
visit_prefix = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.3.0/2.3.0/linux-x86_64/libsim/V2' |
201 |
|
202 |
# Sim2 library/libraries to link against |
203 |
#visit_libs = ['simV2'] |
204 |
|
205 |
# Whether to enable the deprecated PyVisi interface (requires the VTK python |
206 |
# modules) |
207 |
# DEFAULT: False |
208 |
#pyvisi = True |
209 |
|
210 |
# Build dynamic libraries only |
211 |
#DEFAULT: False |
212 |
build_shared = True |
213 |
|
214 |
|
215 |
### ADVANCED OPTIONS ### |
216 |
# Do not change the following options unless you know what they do |
217 |
|
218 |
# Use intel's VSL library for random data |
219 |
# DEFAULT: False |
220 |
#vsl_random = True |
221 |
|
222 |
# Extra libraries to link with |
223 |
#sys_libs = [] |
224 |
|
225 |
# Additional environmental variables to export to the tools |
226 |
env_export = ['INTEL_LICENSE_FILE'] |
227 |
|
228 |
tools_names = [('intelc',{'topdir':'/sw/sdev/intel/cc/x86_64/10.1.025'})] |
229 |
|
230 |
#iknowwhatimdoing = False |
231 |
|
232 |
#forcelazy = 'leave_alone' |
233 |
|
234 |
#forcecollres = 'leave_alone' |
235 |
|