12
12
########################################################
15
# Configuration for shake59 (Windows)
17
# If you cannot use the default compiler flags set in SConstruct, then change them here
18
# C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
22
# omp_optim = '-openmp'
23
# omp_debug = '-openmp'
24
# omp_libs = ['guide']
26
# Use the default C/C++ flags but add something only for this host:
30
# Be picky about errors
34
# sys_libs = ['guide', 'pthread', 'stdc++']
37
python_path = 'C:/python25/include'
38
python_lib_path = 'C:/python25/libs'
39
python_libs = ['python25']
40
# python_cmd = 'python'
43
boost_path = 'C:/Temp/boost_1_33'
44
boost_lib_path = 'C:/Temp/boost_1_33/windows_binary/lib'
45
#boost_path = 'C:/Documents and Settings/ksteube/Desktop/Temp/boost_1_33'
46
#boost_lib_path = 'C:/Documents and Settings/ksteube/Desktop/Temp/boost_1_33/windows_binary/lib'
47
boost_libs = ['boost_python-vc71-mt-1_33']
49
# Specify whether or not to use VTK
54
# netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
55
# netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
56
# netCDF_libs = ['netcdf_c++', 'netcdf']
60
# mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
61
# mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
62
# mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
64
# UMFPACK (requires AMD and BLAS)
66
# ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
67
# umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
68
# umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
69
# umf_libs = ['umfpack']
70
# amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
71
# amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
73
# blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
74
# blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
75
# blas_libs = ['blas']
80
# MPI MPT (no module load required)
82
# mpi_path = '/usr/include'
83
# mpi_lib_path = '/usr/lib64'
87
# MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
88
# mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
89
# mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
90
# mpi_libs = ['mpich', 'rt']
91
# mpi_falvour = 'MPICH'
93
# MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
94
# mpi_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'
95
# mpi_lib_path = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'
96
# mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
97
# mpi_falvour = 'MPICH'
99
# Intel MPI (to run Escript use: module load intel-mpi/3.1.038)
100
# mpi_path = '/sw/sdev/intel/mpi/3.1.038/x86_64/include64'
101
# mpi_lib_path = '/sw/sdev/intel/mpi/3.1.038/x86_64/lib64'
103
# mpi_falvour = 'INTELMPI'
105
# mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)
106
# mpi_path = '/usr/diags/mpi/mvapich/intel/include'
107
# mpi_lib_path = '/usr/diags/mpi/mvapich/intel/lib/shared'
108
# mpi_libs = ['mpich']
109
# mpi_falvour = 'MPICH'
111
# OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)
112
# mpi_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'
113
# mpi_lib_path = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'
115
# mpi_falvour = 'OPENMPI'
117
# ParMETIS (for use with MPI)
118
# useparmetis = 'yes'
119
# parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
120
# parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
121
# parmetis_libs = ['parmetis', 'metis']
125
# papi_path = '/usr/include'
126
# papi_lib_path = '/usr/lib64'
127
# papi_libs = ['papi']
128
# papi_instrument_solver = 'no'
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='C:/python'
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=['C:/boost/include/boost1_44', 'C:/boost/lib']
23
# All <dependency>_prefix settings default to '/usr' so have to be set
24
# manually on Windows.
26
# The options file version. SCons will refuse to build if there have been
27
# changes to the set of variables and your file has not been updated.
28
# This setting is mandatory.
29
escript_opts_version = 200
31
# Installation prefix. Files will be installed in subdirectories underneath.
32
# DEFAULT: '.' (current directory)
33
#prefix = 'C:/escript'
35
# C compiler command name or full path.
36
# DEFAULT: auto-detected
39
# C++ compiler command name or full path.
40
# DEFAULT: auto-detected
43
# Flags to use with both C and C++ compilers. Do not set unless you know
44
# what you are doing - use cc_extra to specify additional flags!
45
# DEFAULT: compiler-dependent
48
# Additional compiler (optimization) flags for non-debug builds
49
# DEFAULT: compiler-dependent
50
#cc_optim = '/O2 /Op /W3'
52
# Additional compiler flags for debug builds
53
# DEFAULT: compiler-dependent
54
#cc_debug = '/Od /RTCcsu /ZI /DBOUNDS_CHECK'
56
# Additional flags to add to the C compiler only
60
# Additional flags to add to the C++ compiler only
64
# Additional flags to add to the linker
68
# Whether to treat compiler warnings as errors
72
# Whether to build a debug version
76
# Set to True to print the full compiler/linker command line
80
# Set to True to add flags that enable OpenMP parallelization
84
# Additional compiler flags for OpenMP builds
85
# DEFAULT: compiler-dependent
86
#omp_flags = '/Qopenmp /Qparallel'
88
# Additional linker flags for OpenMP builds
89
# DEFAULT: compiler-dependent
90
#omp_ldflags = '/Qopenmp /Qparallel'
92
# Flavour of MPI implementation
93
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
94
# DEFAULT: 'none' (disable MPI)
97
# Prefix or paths to MPI headers and libraries. See note above about prefixes.
98
#mpi_prefix = 'C:/MPICH2'
100
# MPI libraries to link against
103
# Prefix or paths to boost-python headers and libraries. See note above.
104
boost_prefix = ['C:/Temp/boost_1_33', 'C:/Temp/boost_1_33/windows_binary/lib']
106
# boost-python library/libraries to link against
107
boost_libs = ['boost_python-vc71-mt-1_33']
109
# Whether to use the netCDF library for dump file support
113
# Prefix or paths to netCDF headers and libraries. See note above.
114
#netcdf_prefix = 'C:/netcdf'
116
# netCDF library/libraries to link against
117
#netcdf_libs = ['netcdf_cpp', 'netcdf']
119
# Whether to use the parMETIS library (only in conjunction with MPI)
123
# Prefix or paths to parMETIS headers and libraries. See note above.
124
#parmetis_prefix = 'C:/parmetis'
126
# parMETIS library/libraries to link against
127
#parmetis_libs = ['parmetis', 'metis']
129
# Whether to use the Intel PAPI (Performance API) library
133
# Prefix or paths to PAPI headers and libraries. See note above.
134
#papi_prefix = 'C:/papi'
136
# PAPI library/libraries to link against
137
#papi_libs = ['papi']
139
# Whether to use PAPI to instrument solver iterations
141
#papi_instrument_solver = True
143
# Whether to use Intel MKL (Math Kernel Library)
147
# Prefix or paths to MKL headers and libraries. See note above.
148
#mkl_prefix = 'C:/mkl'
150
# MKL library/libraries to link against
151
#mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
153
# Whether to use UMFPACK (requires AMD and BLAS)
157
# Prefix or paths to UMFPACK headers and libraries. See note above.
158
#umfpack_prefix = 'C:/umfpack'
160
# UMFPACK library/libraries to link against
161
#umfpack_libs = ['umfpack']
163
# Flavour of LAPACK implementation
164
# Recognized values: 'none', 'clapack', 'mkl'
165
# DEFAULT: 'none' (do not use LAPACK)
168
# Prefix or paths to LAPACK headers and libraries. See note above.
169
#lapack_prefix = 'C:/lapack'
171
# LAPACK library/libraries to link against
172
#lapack_libs = ['lapack_atlas']
174
# Whether to use LLNL's SILO library for Silo output file support in weipa
178
# Prefix or paths to SILO headers and libraries. See note above.
179
#silo_prefix = 'C:/silo'
181
# SILO library/libraries to link against
182
#silo_libs = ['siloh5', 'hdf5']
184
# Whether to use LLNL's VisIt simulation interface (only version 2 supported)
188
# Prefix or paths to VisIt's sim2 headers and libraries. See note above.
189
#visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
191
# Sim2 library/libraries to link against
192
#visit_libs = ['simV2']
194
# Whether to enable the deprecated PyVisi interface (requires the VTK python
200
### ADVANCED OPTIONS ###
201
# Do not change the following options unless you know what they do
203
# Extra libraries to link with
204
#sys_libs = ['ws2_32']
206
# Additional environmental variables to export to the tools
209
# Build a shared esysUtils library
210
#share_esysutils = True
212
# Build a shared paso library
215
#tools_names = ['msvc']
217
#iknowwhatimdoing = False
219
#forcelazy = 'leave_alone'
221
#forcecollres = 'leave_alone'