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