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

Contents of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3647 - (show annotations)
Tue Nov 1 23:33:18 2011 UTC (8 years, 3 months ago) by lgao
File MIME type: text/x-python
File size: 7556 byte(s)
With this option file, unit tests finished successfully with the following order to load module: 

module load mpi/gcc/openmpi/1.4.3
module load python/2.6.7
module load boost/1.46.1-python-2.6
module load netcdf/4.0.1
module load scons/2.0.1-python-2.6
module load intel-compilers/11.1.075
module load intel-mkl/10.3.5.220
module load python-numpy/1.3.0-python-2.6
module load cppunit/1.12.1
module load python-matplotlib/0.98.5.3-python-2.6
module load hdf5/1.8.6
module load silo/4.7.2
module load hypre/2.0.0

HYPRE is loaded but not used yet since the installed hypre module on epic comes with static library only. 


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 #cc = 'gcc'
37
38 # C++ compiler command name or full path.
39 # DEFAULT: auto-detected
40 cxx = 'icpc'
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 = '-O3 -mmmx -msse'
51
52 # Additional compiler flags for debug builds
53 # DEFAULT: compiler-dependent
54 cc_debug = '-g'
55
56 # Additional flags to add to the C compiler only
57 # DEFAULT: '' (empty)
58 cc_extra = '-sox'
59 #cc_extra = '-fopenmp'
60
61 # Additional flags to add to the C++ compiler only
62 # DEFAULT: '' (empty)
63 cxx_extra = '-sox'
64 #cxx_extra = '-fopenmp'
65
66 # Additional flags to add to the linker
67 # DEFAULT: '' (empty)
68 ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'
69 #ld_extra = '-L/opt/hdf5/1.8.6/lib -fopenmp'
70
71 # Whether to treat compiler warnings as errors
72 # DEFAULT: True
73 werror = False
74
75 # Whether to build a debug version
76 # DEFAULT: False
77 debug = True
78
79 # Set to True to print the full compiler/linker command line
80 # DEFAULT: False
81 verbose = True
82
83 # Set to True to add flags that enable OpenMP parallelization
84 # DEFAULT: False
85 openmp = True
86 #openmp = False
87
88 # Additional compiler flags for OpenMP builds
89 # DEFAULT: compiler-dependent
90 omp_flags = '-openmp -openmp-report2'
91
92 # Additional linker flags for OpenMP builds
93 # DEFAULT: compiler-dependent
94 omp_ldflags = '-openmp'
95
96 # Flavour of MPI implementation
97 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
98 # DEFAULT: 'none' (disable MPI)
99 mpi = 'OPENMPI'
100 #mpi = 'none'
101
102 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
103 mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']
104
105 # MPI libraries to link against
106 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
107
108 # Prefix or paths to python headers and libraries. See note above.
109 # By default, this is determined using the running python executable.
110 python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib']
111 #python_prefix = ['/opt/python/2.7.2/include/python2.7', '/opt/python/2.7.2/lib']
112
113 # Prefix or paths to boost-python headers and libraries. See note above.
114 #boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib']
115 boost_prefix = ['/opt/boost/1.46.1-python-2.6/include/', '/opt/boost/1.46.1-python-2.6/lib']
116
117 # boost-python library/libraries to link against
118 #boost_libs = ['boost_python-gcc41-mt-1_39']
119 boost_libs = ['boost_python']
120
121
122 # Prefix or paths to CppUnit headers and libraries. See note above.
123 cppunit_prefix = '/opt/cppunit/1.12.1'
124
125 # CppUnit library/libraries to link against
126 #cppunit_libs = ['cppunit']
127
128
129 # Whether to use the netCDF library for dump file support
130 # DEFAULT: False
131 netcdf = True
132
133 # Prefix or paths to netCDF headers and libraries. See note above.
134 netcdf_prefix = ['/opt/netcdf/4.0.1/include', '/opt/netcdf/4.0.1/lib']
135
136 # netCDF library/libraries to link against
137 netcdf_libs = ['netcdf_c++', 'netcdf']
138
139 # Whether to use the parMETIS library (only in conjunction with MPI)
140 # DEFAULT: False
141 parmetis = True
142
143 # Prefix or paths to parMETIS headers and libraries. See note above.
144 parmetis_prefix = ['/opt/parmetis/3.1.1/include', '/opt/parmetis/3.1.1/lib']
145
146 # parMETIS library/libraries to link against
147 parmetis_libs = ['parmetis', 'metis']
148
149 # Whether to use the Intel PAPI (Performance API) library
150 # DEFAULT: False
151 #papi = True
152
153 # Prefix or paths to PAPI headers and libraries. See note above.
154 #papi_prefix = '/usr/local'
155
156 # PAPI library/libraries to link against
157 #papi_libs = ['papi']
158
159 # Whether to use PAPI to instrument solver iterations
160 # DEFAULT: False
161 #papi_instrument_solver = True
162
163 # Whether to use Intel MKL (Math Kernel Library)
164 # DEFAULT: False
165 mkl = True
166
167 # Prefix or paths to MKL headers and libraries. See note above.
168 mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
169
170 # MKL library/libraries to link against
171 #mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'pthread', ]
172 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'iomp5', 'pthread']
173
174 # Whether to use UMFPACK (requires AMD and BLAS)
175 # DEFAULT: False
176 #umfpack = True
177
178 # Prefix or paths to UMFPACK headers and libraries. See note above.
179 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
180
181 # UMFPACK library/libraries to link against
182 #umfpack_libs = ['umfpack']
183
184 # Flavour of LAPACK implementation
185 # Recognized values: 'none', 'clapack', 'mkl'
186 # DEFAULT: 'none' (do not use LAPACK)
187 lapack = 'mkl'
188 #lapack = 'none'
189
190 # Prefix or paths to LAPACK headers and libraries. See note above.
191 lapack_prefix = mkl_prefix
192
193 # LAPACK library/libraries to link against
194 #lapack_libs = ['mkl_rt']
195 lapack_libs = ['libmkl_lapack95_lp64', 'mkl_intel_thread']
196
197 # Whether to use LLNL's SILO library for Silo output file support in weipa
198 # DEFAULT: False
199 silo = True
200
201 # Prefix or paths to SILO headers and libraries. See note above.
202 silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib']
203 #silo_prefix = [ '/opt/silo/4.7.2/include', '/opt/silo/4.7.2/lib' , '/opt/hdf5/1.8.6/lib']
204
205 # SILO library/libraries to link against
206 silo_libs = ['siloh5', 'hdf5']
207
208 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
209 # DEFAULT: False
210 visit = True
211
212 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
213 visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2/'
214
215 # Sim2 library/libraries to link against
216 #visit_libs = ['simV2']
217
218 # Whether to enable the deprecated PyVisi interface (requires the VTK python
219 # modules)
220 # DEFAULT: False
221 #pyvisi = True
222 # Whether to use BoomerAMG (requires MPI)
223 # DEFAULT: False
224 #boomeramg = True
225 boomeramg = False
226
227 # Prefix or paths to BoomerAMG headers and libraries. See note above.
228 boomeramg_prefix = '/opt/hypre/2.0.0/'
229
230 # BoomerAMG library/libraries to link against
231 boomeramg_libs = ['HYPRE']
232 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
233
234
235
236
237
238 ### ADVANCED OPTIONS ###
239 # Do not change the following options unless you know what they do
240
241 # Extra libraries to link with
242 #sys_libs = []
243
244 # Additional environmental variables to export to the tools
245 #env_export = []
246
247 # Build a shared esysUtils library
248 #share_esysutils = True
249
250 # Build a shared paso library
251 #share_paso = True
252
253 #tools_names = ['default']
254
255 #iknowwhatimdoing = False
256
257 #forcelazy = 'leave_alone'
258
259 #forcecollres = 'leave_alone'
260

  ViewVC Help
Powered by ViewVC 1.1.26