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='/usr' |
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=['/usr/include/boost1_44', '/usr/lib'] |
23 |
|
# All <dependency>_prefix settings default to '/usr' |
24 |
|
|
25 |
# Configuration for shake32 (64-bit Intel running Ubuntu Linux) |
# The options file version. SCons will refuse to build if there have been |
26 |
|
# changes to the set of variables and your file has not been updated. |
27 |
|
# This setting is mandatory. |
28 |
|
escript_opts_version = 200 |
29 |
|
|
30 |
# If you cannot use the default compiler flags set in SConstruct, then change them here |
# Installation prefix. Files will be installed in subdirectories underneath. |
31 |
# C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug) |
# DEFAULT: '.' (current directory) |
32 |
# cc_flags = '-ansi' |
#prefix = '/usr/local' |
33 |
# cc_optim = '-O2' |
|
34 |
# cc_debug = '-g' |
# C compiler command name or full path. |
35 |
omp_optim = '-fopenmp' |
# DEFAULT: auto-detected |
36 |
omp_debug = '-fopenmp' |
#cc = 'gcc' |
37 |
omp_libs = ['gomp'] |
|
38 |
|
# C++ compiler command name or full path. |
39 |
# Use the default C/C++ flags but add something only for this host: |
# DEFAULT: auto-detected |
40 |
#cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long' |
#cxx = 'g++' |
41 |
#cc_extra = '-fopenmp' |
|
42 |
# ld_extra = '' |
# Flags to use with both C and C++ compilers. Do not set unless you know |
43 |
cc_extra = '' |
# what you are doing - use cc_extra to specify additional flags! |
44 |
|
# DEFAULT: compiler-dependent |
45 |
# Be picky about errors |
#cc_flags = '' |
46 |
# usepedantic = 'no' |
|
47 |
|
# Additional compiler (optimization) flags for non-debug builds |
48 |
# Extra libraries |
# DEFAULT: compiler-dependent |
49 |
# sys_libs = ['guide', 'pthread', 'stdc++'] |
#cc_optim = '-O3 -mmmx -msse' |
50 |
|
|
51 |
# Python libraries |
# Additional compiler flags for debug builds |
52 |
python_path = '/usr/include/python2.6' |
# DEFAULT: compiler-dependent |
53 |
python_lib_path = '/usr/lib' |
#cc_debug = '-g' |
54 |
python_libs = 'python2.6' |
|
55 |
# python_cmd = 'python' |
# Additional flags to add to the C compiler only |
56 |
|
# DEFAULT: '' (empty) |
57 |
# Boost libraries |
#cc_extra = '' |
58 |
boost_path = '/usr/include/' |
|
59 |
boost_lib_path = '/usr/lib' |
# Additional flags to add to the C++ compiler only |
60 |
boost_libs = ['boost_python-mt-py26'] |
# DEFAULT: '' (empty) |
61 |
|
#cxx_extra = '' |
62 |
# Specify whether or not to use VTK |
|
63 |
# usevtk = 'yes' |
# Additional flags to add to the linker |
64 |
|
# DEFAULT: '' (empty) |
65 |
# NetCDF |
#ld_extra = '' |
66 |
# usenetcdf = 'yes' |
|
67 |
netCDF_path = '/usr/include/netcdf-3' |
# Whether to treat compiler warnings as errors |
68 |
netCDF_lib_path = '/usr/lib' |
# DEFAULT: True |
69 |
# netCDF_libs = ['netcdf_c++', 'netcdf'] |
#werror = False |
70 |
|
|
71 |
# MKL |
# Whether to build a debug version |
72 |
# usemkl = 'yes' |
# DEFAULT: False |
73 |
# mkl_path = '/sw/sdev/cmkl/10.0.2.18/include' |
#debug = True |
74 |
# mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t' |
|
75 |
# mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread'] |
# Set to True to print the full compiler/linker command line |
76 |
|
# DEFAULT: False |
77 |
# UMFPACK (requires AMD and BLAS) |
#verbose = True |
78 |
# useumfpack = 'yes' |
|
79 |
# ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
# Set to True to add flags that enable OpenMP parallelization |
80 |
# umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
# DEFAULT: False |
81 |
# umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
#openmp = True |
82 |
# umf_libs = ['umfpack'] |
|
83 |
# amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
# Additional compiler flags for OpenMP builds |
84 |
# amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
# DEFAULT: compiler-dependent |
85 |
# amd_libs = ['amd'] |
#omp_flags = '-fopenmp' |
86 |
# blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
|
87 |
# blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
# Additional linker flags for OpenMP builds |
88 |
# blas_libs = ['blas'] |
# DEFAULT: compiler-dependent |
89 |
|
#omp_ldflags = '-fopenmp' |
90 |
# OpenMP |
|
91 |
#useopenmp = 'yes' |
# Flavour of MPI implementation |
92 |
|
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI' |
93 |
# MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7) |
# DEFAULT: 'none' (disable MPI) |
94 |
# usempi = 'no' |
#mpi = 'OPENMPI' |
95 |
# mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include' |
|
96 |
# mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib' |
# Prefix or paths to MPI headers and libraries. See note above about prefixes. |
97 |
# mpi_libs = ['mpich', 'rt'] |
#mpi_prefix = '/usr/lib/openmpi' |
98 |
# mpi_flavour = "MPICH" |
|
99 |
|
# MPI libraries to link against |
100 |
# MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7) |
#mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal'] |
101 |
# mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include' |
|
102 |
# mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib' |
# Prefix or paths to boost-python headers and libraries. See note above. |
103 |
# mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt'] |
#boost_prefix = '/usr/local' |
104 |
# mpi_flavour = "MPICH" |
|
105 |
|
# boost-python library/libraries to link against |
106 |
# ParMETIS (for use with MPI) |
boost_libs = ['boost_python-mt-py26'] |
107 |
# useparmetis = 'yes' |
|
108 |
# parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include' |
# Whether to use the netCDF library for dump file support |
109 |
# parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib' |
# DEFAULT: False |
110 |
# parmetis_libs = ['parmetis', 'metis'] |
#netcdf = True |
111 |
|
|
112 |
# PAPI |
# Prefix or paths to netCDF headers and libraries. See note above. |
113 |
# usepapi = 'no' |
#netcdf_prefix = '/usr/local' |
114 |
# papi_path = '/usr/include' |
|
115 |
# papi_lib_path = '/usr/lib' |
# netCDF library/libraries to link against |
116 |
# papi_libs = ['papi'] |
#netcdf_libs = ['netcdf_c++', 'netcdf'] |
117 |
# papi_instrument_solver = 'no' |
|
118 |
|
# Whether to use the parMETIS library (only in conjunction with MPI) |
119 |
|
# DEFAULT: False |
120 |
|
#parmetis = True |
121 |
|
|
122 |
|
# Prefix or paths to parMETIS headers and libraries. See note above. |
123 |
|
#parmetis_prefix = '/usr/local' |
124 |
|
|
125 |
|
# parMETIS library/libraries to link against |
126 |
|
#parmetis_libs = ['parmetis', 'metis'] |
127 |
|
|
128 |
|
# Whether to use the Intel PAPI (Performance API) library |
129 |
|
# DEFAULT: False |
130 |
|
#papi = True |
131 |
|
|
132 |
|
# Prefix or paths to PAPI headers and libraries. See note above. |
133 |
|
#papi_prefix = '/usr/local' |
134 |
|
|
135 |
|
# PAPI library/libraries to link against |
136 |
|
#papi_libs = ['papi'] |
137 |
|
|
138 |
|
# Whether to use PAPI to instrument solver iterations |
139 |
|
# DEFAULT: False |
140 |
|
#papi_instrument_solver = True |
141 |
|
|
142 |
|
# Whether to use Intel MKL (Math Kernel Library) |
143 |
|
# DEFAULT: False |
144 |
|
#mkl = True |
145 |
|
|
146 |
|
# Prefix or paths to MKL headers and libraries. See note above. |
147 |
|
#mkl_prefix = '/usr' |
148 |
|
|
149 |
|
# MKL library/libraries to link against |
150 |
|
#mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread'] |
151 |
|
|
152 |
|
# Whether to use UMFPACK (requires AMD and BLAS) |
153 |
|
# DEFAULT: False |
154 |
|
#umfpack = True |
155 |
|
|
156 |
|
# Prefix or paths to UMFPACK headers and libraries. See note above. |
157 |
|
#umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib'] |
158 |
|
|
159 |
|
# UMFPACK library/libraries to link against |
160 |
|
#umfpack_libs = ['umfpack'] |
161 |
|
|
162 |
|
# Flavour of LAPACK implementation |
163 |
|
# Recognized values: 'none', 'clapack', 'mkl' |
164 |
|
# DEFAULT: 'none' (do not use LAPACK) |
165 |
|
#lapack = 'clapack' |
166 |
|
|
167 |
|
# Prefix or paths to LAPACK headers and libraries. See note above. |
168 |
|
#lapack_prefix = '/usr/local' |
169 |
|
|
170 |
|
# LAPACK library/libraries to link against |
171 |
|
#lapack_libs = ['lapack_atlas'] |
172 |
|
|
173 |
|
# Whether to use LLNL's SILO library for Silo output file support in weipa |
174 |
|
# DEFAULT: False |
175 |
|
#silo = True |
176 |
|
|
177 |
|
# Prefix or paths to SILO headers and libraries. See note above. |
178 |
|
#silo_prefix = '/usr/local' |
179 |
|
|
180 |
|
# SILO library/libraries to link against |
181 |
|
#silo_libs = ['siloh5', 'hdf5'] |
182 |
|
|
183 |
|
# Whether to use LLNL's VisIt simulation interface (only version 2 supported) |
184 |
|
# DEFAULT: False |
185 |
|
#visit = True |
186 |
|
|
187 |
|
# Prefix or paths to VisIt's sim2 headers and libraries. See note above. |
188 |
|
#visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2' |
189 |
|
|
190 |
|
# Sim2 library/libraries to link against |
191 |
|
#visit_libs = ['simV2'] |
192 |
|
|
193 |
|
# Whether to enable the deprecated PyVisi interface (requires the VTK python |
194 |
|
# modules) |
195 |
|
# DEFAULT: False |
196 |
|
#pyvisi = True |
197 |
|
|
198 |
|
|
199 |
|
### ADVANCED OPTIONS ### |
200 |
|
# Do not change the following options unless you know what they do |
201 |
|
|
202 |
|
# Extra libraries to link with |
203 |
|
#sys_libs = [] |
204 |
|
|
205 |
|
# Additional environmental variables to export to the tools |
206 |
|
#env_export = [] |
207 |
|
|
208 |
|
# Build a shared esysUtils library |
209 |
|
#share_esysutils = True |
210 |
|
|
211 |
|
# Build a shared paso library |
212 |
|
#share_paso = True |
213 |
|
|
214 |
|
#tools_names = ['default'] |
215 |
|
|
216 |
|
#iknowwhatimdoing = False |
217 |
|
|
218 |
|
#forcelazy = 'leave_alone' |
219 |
|
|
220 |
|
#forcecollres = 'leave_alone' |
221 |
|
|