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