~vcs-imports/escript-finley/trunk

« back to all changes in this revision

Viewing changes to scons/shake59_options.py

  • Committer: jfenwick
  • Date: 2010-10-11 01:48:14 UTC
  • Revision ID: svn-v4:77569008-7704-0410-b7a0-a92fef0b09fd:trunk:3259
Merging dudley and scons updates from branches

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
#
12
12
########################################################
13
13
 
14
 
 
15
 
# Configuration for shake59 (Windows)
16
 
 
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)
19
 
# cc_flags              = '-ansi'
20
 
# cc_optim              = '-O2'
21
 
# cc_debug              = '-g'
22
 
# omp_optim             = '-openmp'
23
 
# omp_debug             = '-openmp'
24
 
# omp_libs              = ['guide']
25
 
 
26
 
# Use the default C/C++ flags but add something only for this host:
27
 
# cc_extra              = ''
28
 
# ld_extra              = ''
29
 
 
30
 
# Be picky about errors
31
 
# usepedantic           = 'no'
32
 
 
33
 
# Extra libraries
34
 
# sys_libs              = ['guide', 'pthread', 'stdc++']
35
 
 
36
 
# Python libraries
37
 
python_path             = 'C:/python25/include'
38
 
python_lib_path         = 'C:/python25/libs'
39
 
python_libs             = ['python25']
40
 
# python_cmd            = 'python'
41
 
 
42
 
# Boost libraries
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']
48
 
 
49
 
# Specify whether or not to use VTK
50
 
# usevtk                = 'yes'
51
 
 
52
 
# NetCDF
53
 
# usenetcdf             = 'yes'
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']
57
 
 
58
 
# MKL
59
 
# usemkl                = 'yes'
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']
63
 
 
64
 
# UMFPACK (requires AMD and BLAS)
65
 
# useumfpack            = 'yes'
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'
72
 
# amd_libs              = ['amd']
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']
76
 
 
77
 
# OpenMP
78
 
# useopenmp             = 'yes'
79
 
 
80
 
# MPI MPT (no module load required)
81
 
# usempi                = 'no'
82
 
# mpi_path              = '/usr/include'
83
 
# mpi_lib_path          = '/usr/lib64'
84
 
# mpi_libs              = ['mpi']
85
 
# mpi_falvour           = 'MPT'
86
 
 
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'
92
 
 
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'
98
 
 
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'
102
 
# mpi_libs              = ['mpi']
103
 
# mpi_falvour           = 'INTELMPI'
104
 
 
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'
110
 
 
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'
114
 
# mpi_libs              = ['mpi']
115
 
# mpi_falvour           = 'OPENMPI'
116
 
 
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']
122
 
 
123
 
# PAPI
124
 
# usepapi               = 'no'
125
 
# papi_path             = '/usr/include'
126
 
# papi_lib_path         = '/usr/lib64'
127
 
# papi_libs             = ['papi']
128
 
# papi_instrument_solver        = 'no'
 
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='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.
 
25
 
 
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
 
30
 
 
31
# Installation prefix. Files will be installed in subdirectories underneath.
 
32
# DEFAULT: '.' (current directory)
 
33
#prefix = 'C:/escript'
 
34
 
 
35
# C compiler command name or full path.
 
36
# DEFAULT: auto-detected
 
37
#cc = 'gcc'
 
38
 
 
39
# C++ compiler command name or full path.
 
40
# DEFAULT: auto-detected
 
41
#cxx = 'g++'
 
42
 
 
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
 
46
#cc_flags = ''
 
47
 
 
48
# Additional compiler (optimization) flags for non-debug builds
 
49
# DEFAULT: compiler-dependent
 
50
#cc_optim = '/O2 /Op /W3'
 
51
 
 
52
# Additional compiler flags for debug builds
 
53
# DEFAULT: compiler-dependent
 
54
#cc_debug = '/Od /RTCcsu /ZI /DBOUNDS_CHECK'
 
55
 
 
56
# Additional flags to add to the C compiler only
 
57
# DEFAULT: '' (empty)
 
58
#cc_extra = ''
 
59
 
 
60
# Additional flags to add to the C++ compiler only
 
61
# DEFAULT: '' (empty)
 
62
#cxx_extra = ''
 
63
 
 
64
# Additional flags to add to the linker
 
65
# DEFAULT: '' (empty)
 
66
#ld_extra = ''
 
67
 
 
68
# Whether to treat compiler warnings as errors
 
69
# DEFAULT: True
 
70
werror = False
 
71
 
 
72
# Whether to build a debug version
 
73
# DEFAULT: False
 
74
#debug = True
 
75
 
 
76
# Set to True to print the full compiler/linker command line
 
77
# DEFAULT: False
 
78
verbose = True
 
79
 
 
80
# Set to True to add flags that enable OpenMP parallelization
 
81
# DEFAULT: False
 
82
#openmp = True
 
83
 
 
84
# Additional compiler flags for OpenMP builds
 
85
# DEFAULT: compiler-dependent
 
86
#omp_flags = '/Qopenmp /Qparallel'
 
87
 
 
88
# Additional linker flags for OpenMP builds
 
89
# DEFAULT: compiler-dependent
 
90
#omp_ldflags = '/Qopenmp /Qparallel'
 
91
 
 
92
# Flavour of MPI implementation
 
93
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
 
94
# DEFAULT: 'none' (disable MPI)
 
95
#mpi = 'MPICH2'
 
96
 
 
97
# Prefix or paths to MPI headers and libraries. See note above about prefixes.
 
98
#mpi_prefix = 'C:/MPICH2'
 
99
 
 
100
# MPI libraries to link against
 
101
#mpi_libs = ['mpi']
 
102
 
 
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']
 
105
 
 
106
# boost-python library/libraries to link against
 
107
boost_libs = ['boost_python-vc71-mt-1_33']
 
108
 
 
109
# Whether to use the netCDF library for dump file support
 
110
# DEFAULT: False
 
111
#netcdf = True
 
112
 
 
113
# Prefix or paths to netCDF headers and libraries. See note above.
 
114
#netcdf_prefix = 'C:/netcdf'
 
115
 
 
116
# netCDF library/libraries to link against
 
117
#netcdf_libs = ['netcdf_cpp', 'netcdf']
 
118
 
 
119
# Whether to use the parMETIS library (only in conjunction with MPI)
 
120
# DEFAULT: False
 
121
#parmetis = True
 
122
 
 
123
# Prefix or paths to parMETIS headers and libraries. See note above.
 
124
#parmetis_prefix = 'C:/parmetis'
 
125
 
 
126
# parMETIS library/libraries to link against
 
127
#parmetis_libs = ['parmetis', 'metis']
 
128
 
 
129
# Whether to use the Intel PAPI (Performance API) library
 
130
# DEFAULT: False
 
131
#papi = True
 
132
 
 
133
# Prefix or paths to PAPI headers and libraries. See note above.
 
134
#papi_prefix = 'C:/papi'
 
135
 
 
136
# PAPI library/libraries to link against
 
137
#papi_libs = ['papi']
 
138
 
 
139
# Whether to use PAPI to instrument solver iterations
 
140
# DEFAULT: False
 
141
#papi_instrument_solver = True
 
142
 
 
143
# Whether to use Intel MKL (Math Kernel Library)
 
144
# DEFAULT: False
 
145
#mkl = True
 
146
 
 
147
# Prefix or paths to MKL headers and libraries. See note above.
 
148
#mkl_prefix = 'C:/mkl'
 
149
 
 
150
# MKL library/libraries to link against
 
151
#mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
 
152
 
 
153
# Whether to use UMFPACK (requires AMD and BLAS)
 
154
# DEFAULT: False
 
155
#umfpack = True
 
156
 
 
157
# Prefix or paths to UMFPACK headers and libraries. See note above.
 
158
#umfpack_prefix = 'C:/umfpack'
 
159
 
 
160
# UMFPACK library/libraries to link against
 
161
#umfpack_libs = ['umfpack']
 
162
 
 
163
# Flavour of LAPACK implementation
 
164
# Recognized values: 'none', 'clapack', 'mkl'
 
165
# DEFAULT: 'none' (do not use LAPACK)
 
166
#lapack = 'clapack'
 
167
 
 
168
# Prefix or paths to LAPACK headers and libraries. See note above.
 
169
#lapack_prefix = 'C:/lapack'
 
170
 
 
171
# LAPACK library/libraries to link against
 
172
#lapack_libs = ['lapack_atlas']
 
173
 
 
174
# Whether to use LLNL's SILO library for Silo output file support in weipa
 
175
# DEFAULT: False
 
176
#silo = True
 
177
 
 
178
# Prefix or paths to SILO headers and libraries. See note above.
 
179
#silo_prefix = 'C:/silo'
 
180
 
 
181
# SILO library/libraries to link against
 
182
#silo_libs = ['siloh5', 'hdf5']
 
183
 
 
184
# Whether to use LLNL's VisIt simulation interface (only version 2 supported)
 
185
# DEFAULT: False
 
186
#visit = True
 
187
 
 
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'
 
190
 
 
191
# Sim2 library/libraries to link against
 
192
#visit_libs = ['simV2']
 
193
 
 
194
# Whether to enable the deprecated PyVisi interface (requires the VTK python
 
195
# modules)
 
196
# DEFAULT: False
 
197
#pyvisi = True
 
198
 
 
199
 
 
200
### ADVANCED OPTIONS ###
 
201
# Do not change the following options unless you know what they do
 
202
 
 
203
# Extra libraries to link with
 
204
#sys_libs = ['ws2_32']
 
205
 
 
206
# Additional environmental variables to export to the tools
 
207
#env_export = []
 
208
 
 
209
# Build a shared esysUtils library
 
210
#share_esysutils = True
 
211
 
 
212
# Build a shared paso library
 
213
#share_paso = True
 
214
 
 
215
#tools_names = ['msvc']
 
216
 
 
217
#iknowwhatimdoing = False
 
218
 
 
219
#forcelazy = 'leave_alone'
 
220
 
 
221
#forcecollres = 'leave_alone'
129
222