/[escript]/branches/complex/scons/epicuser_options.py
ViewVC logotype

Contents of /branches/complex/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5866 - (show annotations)
Wed Jan 13 03:13:08 2016 UTC (3 years, 4 months ago) by jfenwick
File MIME type: text/x-python
File size: 6809 byte(s)
Trying again to branch
1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2016 by The University of Queensland
5 # http://www.uq.edu.au
6 #
7 # Primary Business: Queensland, Australia
8 # Licensed under the Open Software License version 3.0
9 # http://www.opensource.org/licenses/osl-3.0.php
10 #
11 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 # Development 2012-2013 by School of Earth Sciences
13 # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 #
15 ##############################################################################
16 #
17
18 #
19 # On epic.ivec.org: link this file to epicuser1_options.py and
20 # epicuser2_options.py
21 #
22
23 # The options file version. SCons will refuse to build if there have been
24 # changes to the set of variables and your file has not been updated.
25 # This setting is mandatory.
26 escript_opts_version = 201
27
28 # Installation prefix. Files will be installed in subdirectories underneath.
29 # DEFAULT: '.' (current directory)
30 #prefix = '/opt/escript/3.2.1'
31
32 # Top-level directory for intermediate build and test files.
33 # DEFAULT: 'build'
34 build_dir = 'build'
35
36 # C++ compiler command name or full path.
37 # DEFAULT: auto-detected
38 cxx = 'icpc'
39 #cxx = 'g++'
40
41 # Flags to use with the C++ compiler. Do not set unless you know
42 # what you are doing - use cxx_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 cxx_extra = '-sox -I/opt/python-numpy/1.6.1-python-2.6/lib/python2.6/site-packages/numpy/core/include'
57 #cxx_extra = '-fopenmp'
58
59 # Additional flags to add to the linker
60 # DEFAULT: '' (empty)
61 ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'
62
63 # Whether to treat compiler warnings as errors
64 # DEFAULT: True
65 werror = False
66
67 # Whether to build a debug version
68 # DEFAULT: False
69 #debug = True
70
71 # Set to True to print the full compiler/linker command line
72 # DEFAULT: False
73 verbose = True
74
75 # Set to True to add flags that enable OpenMP parallelization
76 # DEFAULT: False
77 openmp = True
78
79 # Additional compiler flags for OpenMP builds
80 # DEFAULT: compiler-dependent
81 omp_flags = '-openmp -openmp-report2'
82
83 # Additional linker flags for OpenMP builds
84 # DEFAULT: compiler-dependent
85 #omp_ldflags = '-openmp'
86
87 # Flavour of MPI implementation
88 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
89 # DEFAULT: 'none' (disable MPI)
90 mpi = 'OPENMPI'
91
92 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
93 #mpi_prefix = '/opt/mpi/intel/openmpi/1.4.3-11.1'
94 mpi_prefix = '/opt/mpi/gcc/openmpi/1.4.3'
95
96 # MPI libraries to link against
97 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
98
99 # Prefix or paths to python headers and libraries. See note above.
100 # By default, this is determined using the running python executable.
101 #python_prefix = '/opt/python/2.6.7'
102
103 # Prefix or paths to boost-python headers and libraries. See note above.
104 boost_prefix = '/opt/boost/1.46.1-python-2.6'
105
106 # boost-python library/libraries to link against
107 boost_libs = ['boost_python']
108
109 # Prefix or paths to CppUnit headers and libraries. See note above.
110 cppunit_prefix = '/opt/cppunit/1.12.1'
111
112 # CppUnit library/libraries to link against
113 #cppunit_libs = ['cppunit']
114
115
116 # Whether to use the netCDF library for dump file support
117 # DEFAULT: False
118 netcdf = True
119
120 # Prefix or paths to netCDF headers and libraries. See note above.
121 netcdf_prefix = '/opt/netcdf/4.0.1'
122
123 # netCDF library/libraries to link against
124 netcdf_libs = ['netcdf_c++', 'netcdf']
125
126 # Whether to use the parMETIS library (only in conjunction with MPI)
127 # DEFAULT: False
128 parmetis = True
129
130 # Prefix or paths to parMETIS headers and libraries. See note above.
131 parmetis_prefix = '/opt/parmetis/3.1.1'
132
133 # parMETIS library/libraries to link against
134 parmetis_libs = ['parmetis', 'metis']
135
136 # Whether to use the Intel PAPI (Performance API) library
137 # DEFAULT: False
138 #papi = True
139
140 # Prefix or paths to PAPI headers and libraries. See note above.
141 #papi_prefix = '/usr/local'
142
143 # PAPI library/libraries to link against
144 #papi_libs = ['papi']
145
146 # Whether to use PAPI to instrument solver iterations
147 # DEFAULT: False
148 #papi_instrument_solver = True
149
150 # Whether to use Intel MKL (Math Kernel Library)
151 # DEFAULT: False
152 mkl = True
153
154 # Prefix or paths to MKL headers and libraries. See note above.
155 mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
156
157 # MKL library/libraries to link against
158 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
159 #mkl_libs = ['mkl_intel_lp64', 'mkl_sequential', 'mkl_core', 'pthread']
160
161 # Whether to use UMFPACK (requires AMD and BLAS)
162 # DEFAULT: False
163 #umfpack = True
164
165 # Prefix or paths to UMFPACK headers and libraries. See note above.
166 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
167
168 # UMFPACK library/libraries to link against
169 #umfpack_libs = ['umfpack']
170
171 # Flavour of LAPACK implementation
172 # Recognized values: 'none', 'clapack', 'mkl'
173 # DEFAULT: 'none' (do not use LAPACK)
174 lapack = 'mkl'
175
176 # Prefix or paths to LAPACK headers and libraries. See note above.
177 lapack_prefix = mkl_prefix
178
179 # LAPACK library/libraries to link against
180 #lapack_libs = ['mkl_rt']
181 lapack_libs = ['mkl_core']
182
183 # Whether to use LLNL's SILO library for Silo output file support in weipa
184 # DEFAULT: False
185 silo = True
186
187 # Prefix or paths to SILO headers and libraries. See note above.
188 silo_prefix = '/opt/silo/4.7.2'
189
190 # SILO library/libraries to link against
191 silo_libs = ['siloh5', 'hdf5']
192
193 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
194 # DEFAULT: False
195 visit = True
196
197 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
198 visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2'
199
200 # Sim2 library/libraries to link against
201 #visit_libs = ['simV2']
202
203 # Whether to use BoomerAMG (requires MPI)
204 # DEFAULT: False
205 #boomeramg = True
206
207 # Prefix or paths to BoomerAMG headers and libraries. See note above.
208 #boomeramg_prefix = '/opt/hypre/2.0.0'
209
210 # BoomerAMG library/libraries to link against
211 #boomeramg_libs = ['HYPRE']
212 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
213
214
215 ### ADVANCED OPTIONS ###
216 # Do not change the following options unless you know what they do
217
218 # Extra libraries to link with
219 #sys_libs = []
220
221 # Additional environmental variables to export to the tools
222 #env_export = []
223
224 # Build a shared esysUtils library
225 #share_esysutils = True
226
227 # Build a shared paso library
228 #share_paso = True
229
230 #tools_names = ['default']
231
232 #iknowwhatimdoing = False
233
234 #forcelazy = 'leave_alone'
235
236 #forcecollres = 'leave_alone'
237

  ViewVC Help
Powered by ViewVC 1.1.26