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