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

Contents of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3626 - (show annotations)
Fri Oct 14 02:34:55 2011 UTC (7 years, 11 months ago) by gross
File MIME type: text/x-python
File size: 7011 byte(s)
Silo and cppunit added for epic (there is still a problem with hypre)
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
15 #
16 # On epic.ivec.org: link this file to epicuser1_options.py and
17 # epicuser2_options.py
18 #
19
20 # The options file version. SCons will refuse to build if there have been
21 # changes to the set of variables and your file has not been updated.
22 # This setting is mandatory.
23 escript_opts_version = 201
24
25 # Installation prefix. Files will be installed in subdirectories underneath.
26 # DEFAULT: '.' (current directory)
27 #prefix = '/opt/escript/3.2.1'
28
29 # Top-level directory for intermediate build and test files.
30 # DEFAULT: 'build'
31 build_dir = 'build'
32
33 # C compiler command name or full path.
34 # DEFAULT: auto-detected
35 cc = 'icc'
36
37 # C++ compiler command name or full path.
38 # DEFAULT: auto-detected
39 cxx = 'icc'
40
41 # Flags to use with both C and C++ compilers. Do not set unless you know
42 # what you are doing - use cc_extra to specify additional flags!
43 # DEFAULT: compiler-dependent
44 #cc_flags = ''
45
46 # Additional compiler (optimization) flags for non-debug builds
47 # DEFAULT: compiler-dependent
48 #cc_optim = '-O3 -mmmx -msse'
49
50 # Additional compiler flags for debug builds
51 # DEFAULT: compiler-dependent
52 #cc_debug = '-g'
53
54 # Additional flags to add to the C compiler only
55 # DEFAULT: '' (empty)
56 cc_extra = '-sox'
57
58 # Additional flags to add to the C++ compiler only
59 # DEFAULT: '' (empty)
60 cxx_extra = '-sox'
61
62 # Additional flags to add to the linker
63 # DEFAULT: '' (empty)
64 ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'
65
66 # Whether to treat compiler warnings as errors
67 # DEFAULT: True
68 werror = False
69
70 # Whether to build a debug version
71 # DEFAULT: False
72 debug = False
73
74 # Set to True to print the full compiler/linker command line
75 # DEFAULT: False
76 verbose = True
77
78 # Set to True to add flags that enable OpenMP parallelization
79 # DEFAULT: False
80 openmp = True
81
82 # Additional compiler flags for OpenMP builds
83 # DEFAULT: compiler-dependent
84 omp_flags = '-openmp -openmp-report2'
85
86 # Additional linker flags for OpenMP builds
87 # DEFAULT: compiler-dependent
88 omp_ldflags = '-openmp'
89
90 # Flavour of MPI implementation
91 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
92 # DEFAULT: 'none' (disable MPI)
93 mpi = 'OPENMPI'
94
95 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
96 mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']
97
98 # MPI libraries to link against
99 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
100
101 # Prefix or paths to python headers and libraries. See note above.
102 # By default, this is determined using the running python executable.
103 python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib']
104
105 # Prefix or paths to boost-python headers and libraries. See note above.
106 boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib']
107
108 # boost-python library/libraries to link against
109 boost_libs = ['boost_python-gcc41-mt-1_39']
110
111
112 # Prefix or paths to CppUnit headers and libraries. See note above.
113 cppunit_prefix = '/opt/cppunit/1.12.1'
114
115 # CppUnit library/libraries to link against
116 #cppunit_libs = ['cppunit']
117
118
119 # Whether to use the netCDF library for dump file support
120 # DEFAULT: False
121 netcdf = True
122
123 # Prefix or paths to netCDF headers and libraries. See note above.
124 netcdf_prefix = ['/opt/netcdf/4.0.1/include', '/opt/netcdf/4.0.1/lib']
125
126 # netCDF library/libraries to link against
127 netcdf_libs = ['netcdf_c++', 'netcdf']
128
129 # Whether to use the parMETIS library (only in conjunction with MPI)
130 # DEFAULT: False
131 parmetis = True
132
133 # Prefix or paths to parMETIS headers and libraries. See note above.
134 parmetis_prefix = ['/opt/parmetis/3.1.1/include', '/opt/parmetis/3.1.1/lib']
135
136 # parMETIS library/libraries to link against
137 parmetis_libs = ['parmetis', 'metis']
138
139 # Whether to use the Intel PAPI (Performance API) library
140 # DEFAULT: False
141 #papi = True
142
143 # Prefix or paths to PAPI headers and libraries. See note above.
144 #papi_prefix = '/usr/local'
145
146 # PAPI library/libraries to link against
147 #papi_libs = ['papi']
148
149 # Whether to use PAPI to instrument solver iterations
150 # DEFAULT: False
151 #papi_instrument_solver = True
152
153 # Whether to use Intel MKL (Math Kernel Library)
154 # DEFAULT: False
155 mkl = True
156
157 # Prefix or paths to MKL headers and libraries. See note above.
158 mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
159
160 # MKL library/libraries to link against
161 mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'gomp', 'pthread']
162
163 # Whether to use UMFPACK (requires AMD and BLAS)
164 # DEFAULT: False
165 #umfpack = True
166
167 # Prefix or paths to UMFPACK headers and libraries. See note above.
168 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
169
170 # UMFPACK library/libraries to link against
171 #umfpack_libs = ['umfpack']
172
173 # Flavour of LAPACK implementation
174 # Recognized values: 'none', 'clapack', 'mkl'
175 # DEFAULT: 'none' (do not use LAPACK)
176 lapack = 'mkl'
177
178 # Prefix or paths to LAPACK headers and libraries. See note above.
179 lapack_prefix = mkl_prefix
180
181 # LAPACK library/libraries to link against
182 lapack_libs = ['mkl_rt']
183
184 # Whether to use LLNL's SILO library for Silo output file support in weipa
185 # DEFAULT: False
186 silo = True
187
188 # Prefix or paths to SILO headers and libraries. See note above.
189 silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib']
190 #silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib' , '/opt/hdf5/1.8.6/lib' ]
191
192 # SILO library/libraries to link against
193 silo_libs = ['siloh5', 'hdf5']
194
195 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
196 # DEFAULT: False
197 visit = True
198
199 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
200 visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2/'
201
202 # Sim2 library/libraries to link against
203 #visit_libs = ['simV2']
204
205 # Whether to enable the deprecated PyVisi interface (requires the VTK python
206 # modules)
207 # DEFAULT: False
208 #pyvisi = True
209 # Whether to use BoomerAMG (requires MPI)
210 # DEFAULT: False
211 #boomeramg = True
212
213 # Prefix or paths to BoomerAMG headers and libraries. See note above.
214 #boomeramg_prefix = '/opt/hypre/2.0.0/'
215
216 # BoomerAMG library/libraries to link against
217 #boomeramg_libs = ['HYPRE']
218 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
219
220
221
222
223
224 ### ADVANCED OPTIONS ###
225 # Do not change the following options unless you know what they do
226
227 # Extra libraries to link with
228 #sys_libs = []
229
230 # Additional environmental variables to export to the tools
231 #env_export = []
232
233 # Build a shared esysUtils library
234 #share_esysutils = True
235
236 # Build a shared paso library
237 #share_paso = True
238
239 #tools_names = ['default']
240
241 #iknowwhatimdoing = False
242
243 #forcelazy = 'leave_alone'
244
245 #forcecollres = 'leave_alone'
246

  ViewVC Help
Powered by ViewVC 1.1.26