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 |
# C compiler command name or full path. |
24 |
# DEFAULT: auto-detected |
25 |
#cc = 'gcc' |
26 |
|
27 |
# C++ compiler command name or full path. |
28 |
# DEFAULT: auto-detected |
29 |
#cxx = 'g++' |
30 |
|
31 |
# Flags to use with both C and C++ compilers. Do not set unless you know |
32 |
# what you are doing - use cc_extra to specify additional flags! |
33 |
# DEFAULT: compiler-dependent |
34 |
#cc_flags = '' |
35 |
|
36 |
# Additional compiler (optimization) flags for non-debug builds |
37 |
# DEFAULT: compiler-dependent |
38 |
cc_optim = '-O3 -mmmx -msse' |
39 |
|
40 |
# Additional compiler flags for debug builds |
41 |
# DEFAULT: compiler-dependent |
42 |
#cc_debug = '-g' |
43 |
|
44 |
# Additional flags to add to the C compiler only |
45 |
# DEFAULT: '' (empty) |
46 |
#cc_extra = '' |
47 |
|
48 |
# Additional flags to add to the C++ compiler only |
49 |
# DEFAULT: '' (empty) |
50 |
#cxx_extra = '' |
51 |
|
52 |
# Additional flags to add to the linker |
53 |
# DEFAULT: '' (empty) |
54 |
#ld_extra = '' |
55 |
|
56 |
# Whether to treat compiler warnings as errors |
57 |
# DEFAULT: True |
58 |
#werror = False |
59 |
|
60 |
# Whether to build a debug version |
61 |
# DEFAULT: False |
62 |
#debug = True |
63 |
|
64 |
# Set to True to print the full compiler/linker command line |
65 |
# DEFAULT: False |
66 |
#verbose = True |
67 |
|
68 |
# Set to True to add flags that enable OpenMP parallelization |
69 |
# DEFAULT: False |
70 |
openmp = True |
71 |
|
72 |
# Additional compiler flags for OpenMP builds |
73 |
# DEFAULT: compiler-dependent |
74 |
#omp_flags = '-fopenmp' |
75 |
|
76 |
# Additional linker flags for OpenMP builds |
77 |
# DEFAULT: compiler-dependent |
78 |
#omp_ldflags = '-fopenmp' |
79 |
|
80 |
# Flavour of MPI implementation |
81 |
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI' |
82 |
# DEFAULT: 'none' (disable MPI) |
83 |
mpi = 'OPENMPI' |
84 |
|
85 |
# Prefix or paths to MPI headers and libraries. See note above about prefixes. |
86 |
mpi_prefix = '/usr/lib/openmpi' |
87 |
|
88 |
# MPI libraries to link against |
89 |
mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal'] |
90 |
|
91 |
# Prefix or paths to boost-python headers and libraries. See note above. |
92 |
#boost_prefix = '/usr/local' |
93 |
|
94 |
# boost-python library/libraries to link against |
95 |
#boost_libs = ['boost_python'] |
96 |
|
97 |
# Whether to use the netCDF library for dump file support |
98 |
# DEFAULT: True |
99 |
#netcdf = False |
100 |
|
101 |
# Prefix or paths to netCDF headers and libraries. See note above. |
102 |
#netcdf_prefix = '/usr/local' |
103 |
|
104 |
# netCDF library/libraries to link against |
105 |
#netcdf_libs = ['netcdf_c++', 'netcdf'] |
106 |
|
107 |
# Whether to use the parMETIS library (only in conjunction with MPI) |
108 |
# DEFAULT: False |
109 |
parmetis = True |
110 |
|
111 |
# Prefix or paths to parMETIS headers and libraries. See note above. |
112 |
#parmetis_prefix = '/usr/local' |
113 |
|
114 |
# parMETIS library/libraries to link against |
115 |
#parmetis_libs = ['parmetis', 'metis'] |
116 |
|
117 |
# Whether to use the Intel PAPI (Performance API) library |
118 |
# DEFAULT: False |
119 |
#papi = True |
120 |
|
121 |
# Prefix or paths to PAPI headers and libraries. See note above. |
122 |
#papi_prefix = '/usr/local' |
123 |
|
124 |
# PAPI library/libraries to link against |
125 |
#papi_libs = ['papi'] |
126 |
|
127 |
# Whether to use PAPI to instrument solver iterations |
128 |
# DEFAULT: False |
129 |
#papi_instrument_solver = True |
130 |
|
131 |
# Whether to use Intel MKL (Math Kernel Library) |
132 |
# DEFAULT: False |
133 |
#mkl = True |
134 |
|
135 |
# Prefix or paths to MKL headers and libraries. See note above. |
136 |
#mkl_prefix = '/usr' |
137 |
|
138 |
# MKL library/libraries to link against |
139 |
#mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread'] |
140 |
|
141 |
# Whether to use UMFPACK (requires AMD and BLAS) |
142 |
# DEFAULT: False |
143 |
umfpack = True |
144 |
|
145 |
# Prefix or paths to UMFPACK headers and libraries. See note above. |
146 |
umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib'] |
147 |
|
148 |
# UMFPACK library/libraries to link against |
149 |
#umfpack_libs = ['umfpack'] |
150 |
|
151 |
# Flavour of LAPACK implementation |
152 |
# Recognized values: 'none', 'clapack', 'mkl' |
153 |
# DEFAULT: 'none' (do not use LAPACK) |
154 |
lapack = 'clapack' |
155 |
|
156 |
# Prefix or paths to LAPACK headers and libraries. See note above. |
157 |
#lapack_prefix = '/usr/local' |
158 |
|
159 |
# LAPACK library/libraries to link against |
160 |
lapack_libs = ['lapack_atlas'] |
161 |
|
162 |
# Whether to use LLNL's SILO library for Silo output file support in weipa |
163 |
# DEFAULT: False |
164 |
silo = True |
165 |
|
166 |
# Prefix or paths to SILO headers and libraries. See note above. |
167 |
silo_prefix = '/usr/local' |
168 |
|
169 |
# SILO library/libraries to link against |
170 |
silo_libs = ['siloh5', 'hdf5'] |
171 |
|
172 |
# Whether to use LLNL's VisIt simulation interface (only version 2 supported) |
173 |
# DEFAULT: False |
174 |
visit = True |
175 |
|
176 |
# Prefix or paths to VisIt's sim2 headers and libraries. See note above. |
177 |
visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2' |
178 |
|
179 |
# Sim2 library/libraries to link against |
180 |
#visit_libs = ['simV2'] |
181 |
|
182 |
# Whether to enable the deprecated PyVisi interface (requires the VTK python |
183 |
# modules) |
184 |
# DEFAULT: False |
185 |
#pyvisi = True |
186 |
|
187 |
|
188 |
### ADVANCED OPTIONS ### |
189 |
# Do not change the following options unless you know what they do |
190 |
|
191 |
# Extra libraries to link with |
192 |
#sys_libs = [] |
193 |
|
194 |
# Additional environmental variables to export to the tools |
195 |
#env_export = [] |
196 |
|
197 |
# Build a shared esysUtils library |
198 |
#share_esysutils = True |
199 |
|
200 |
# Build a shared paso library |
201 |
#share_paso = True |
202 |
|
203 |
#tools_names = ['default'] |
204 |
|
205 |
#iknowwhatimdoing = False |
206 |
|
207 |
#forcelazy = 'leave_alone' |
208 |
|
209 |
#forcecollres = 'leave_alone' |
210 |
|