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