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 = 200 |
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 |
|
89 |
# Prefix or paths to MPI headers and libraries. See note above about prefixes. |
90 |
mpi_prefix = ['/sw/sdev/intel/impi/4.0.0.027/include64', '/sw/sdev/intel/impi/4.0.0.027/lib64'] |
91 |
|
92 |
# MPI libraries to link against |
93 |
mpi_libs = ['mpi'] |
94 |
|
95 |
# Prefix or paths to boost-python headers and libraries. See note above. |
96 |
boost_prefix = ['/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/include/boost-1_39', '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/lib'] |
97 |
|
98 |
# boost-python library/libraries to link against |
99 |
boost_libs = ['boost_python-gcc41-mt'] |
100 |
|
101 |
# Whether to use the netCDF library for dump file support |
102 |
# DEFAULT: False |
103 |
netcdf = True |
104 |
|
105 |
# Prefix or paths to netCDF headers and libraries. See note above. |
106 |
netcdf_prefix = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2' |
107 |
|
108 |
# netCDF library/libraries to link against |
109 |
#netcdf_libs = ['netcdf_c++', 'netcdf'] |
110 |
|
111 |
# Whether to use the parMETIS library (only in conjunction with MPI) |
112 |
# DEFAULT: False |
113 |
parmetis = True |
114 |
|
115 |
# Prefix or paths to parMETIS headers and libraries. See note above. |
116 |
parmetis_prefix = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1' |
117 |
|
118 |
# parMETIS library/libraries to link against |
119 |
#parmetis_libs = ['parmetis', 'metis'] |
120 |
|
121 |
# Whether to use the Intel PAPI (Performance API) library |
122 |
# DEFAULT: False |
123 |
#papi = True |
124 |
|
125 |
# Prefix or paths to PAPI headers and libraries. See note above. |
126 |
#papi_prefix = '/usr/local' |
127 |
|
128 |
# PAPI library/libraries to link against |
129 |
#papi_libs = ['papi'] |
130 |
|
131 |
# Whether to use PAPI to instrument solver iterations |
132 |
# DEFAULT: False |
133 |
#papi_instrument_solver = True |
134 |
|
135 |
# Whether to use Intel MKL (Math Kernel Library) |
136 |
# DEFAULT: False |
137 |
mkl = True |
138 |
|
139 |
# Prefix or paths to MKL headers and libraries. See note above. |
140 |
mkl_prefix = ['/sw/sdev/intel/mkl/10.2.5.035/include', '/sw/sdev/intel/mkl/10.2.5.035/lib/em64t'] |
141 |
|
142 |
# MKL library/libraries to link against |
143 |
mkl_libs = ['mkl_core', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_lapack', 'guide', 'pthread', 'mkl_mc', 'mkl_def'] |
144 |
|
145 |
# Whether to use UMFPACK (requires AMD and BLAS) |
146 |
# DEFAULT: False |
147 |
umfpack = True |
148 |
|
149 |
# Prefix or paths to UMFPACK headers and libraries. See note above. |
150 |
umfpack_prefix = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2' |
151 |
|
152 |
# UMFPACK library/libraries to link against |
153 |
umfpack_libs = ['umfpack', 'amd', 'blas'] |
154 |
|
155 |
# Flavour of LAPACK implementation |
156 |
# Recognized values: 'none', 'clapack', 'mkl' |
157 |
# DEFAULT: 'none' (do not use LAPACK) |
158 |
lapack = 'mkl' |
159 |
|
160 |
# Prefix or paths to LAPACK headers and libraries. See note above. |
161 |
lapack_prefix = mkl_prefix |
162 |
|
163 |
# LAPACK library/libraries to link against |
164 |
lapack_libs = ['mkl_lapack'] |
165 |
|
166 |
# Whether to use LLNL's SILO library for Silo output file support in weipa |
167 |
# DEFAULT: False |
168 |
# silo = True |
169 |
|
170 |
# Prefix or paths to SILO headers and libraries. See note above. |
171 |
silo_prefix = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2' |
172 |
|
173 |
# SILO library/libraries to link against |
174 |
silo_libs = ['siloh5', 'hdf5'] |
175 |
|
176 |
# Whether to use LLNL's VisIt simulation interface (only version 2 supported) |
177 |
# DEFAULT: False |
178 |
#visit = True |
179 |
|
180 |
# Prefix or paths to VisIt's sim2 headers and libraries. See note above. |
181 |
visit_prefix = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.0.2/2.0.2/linux-x86_64/libsim/V2' |
182 |
|
183 |
# Sim2 library/libraries to link against |
184 |
#visit_libs = ['simV2'] |
185 |
|
186 |
# Whether to enable the deprecated PyVisi interface (requires the VTK python |
187 |
# modules) |
188 |
# DEFAULT: False |
189 |
#pyvisi = True |
190 |
|
191 |
|
192 |
### ADVANCED OPTIONS ### |
193 |
# Do not change the following options unless you know what they do |
194 |
|
195 |
# Extra libraries to link with |
196 |
#sys_libs = [] |
197 |
|
198 |
# Additional environmental variables to export to the tools |
199 |
env_export = ['INTEL_LICENSE_FILE'] |
200 |
|
201 |
# Build a shared esysUtils library |
202 |
#share_esysutils = True |
203 |
|
204 |
# Build a shared paso library |
205 |
#share_paso = True |
206 |
|
207 |
tools_names = [('intelc',{'topdir':'/sw/sdev/intel/cc/x86_64/10.1.025'})] |
208 |
|
209 |
#iknowwhatimdoing = False |
210 |
|
211 |
#forcelazy = 'leave_alone' |
212 |
|
213 |
#forcecollres = 'leave_alone' |
214 |
|