/[escript]/trunk/scons/savanna_options.py
ViewVC logotype

Contents of /trunk/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3547 - (show annotations)
Tue Aug 2 04:24:09 2011 UTC (8 years, 3 months ago) by lgao
File MIME type: text/x-python
File size: 6757 byte(s)
Set "lapack" to "mkl" before the mantis bug 0000616 is solved. 


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

  ViewVC Help
Powered by ViewVC 1.1.26