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

Contents of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4406 - (show annotations)
Tue May 14 02:54:09 2013 UTC (6 years, 5 months ago) by caltinay
File MIME type: text/x-python
File size: 6946 byte(s)
Removed references to pyvisi which disappeared a few releases ago...

1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2013 by 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 since 2012 by School of Earth Sciences
13 #
14 ##############################################################################
15 #
16
17 #
18 # On epic.ivec.org: link this file to epicuser1_options.py and
19 # epicuser2_options.py
20 #
21
22 # The options file version. SCons will refuse to build if there have been
23 # changes to the set of variables and your file has not been updated.
24 # This setting is mandatory.
25 escript_opts_version = 201
26
27 # Installation prefix. Files will be installed in subdirectories underneath.
28 # DEFAULT: '.' (current directory)
29 #prefix = '/opt/escript/3.2.1'
30
31 # Top-level directory for intermediate build and test files.
32 # DEFAULT: 'build'
33 build_dir = 'build'
34
35 # C compiler command name or full path.
36 # DEFAULT: auto-detected
37 cc = 'icc'
38 #cc = 'gcc'
39
40 # C++ compiler command name or full path.
41 # DEFAULT: auto-detected
42 cxx = 'icpc'
43 #cxx = 'g++'
44
45 # Flags to use with both C and C++ compilers. Do not set unless you know
46 # what you are doing - use cc_extra to specify additional flags!
47 # DEFAULT: compiler-dependent
48 #cc_flags = ''
49
50 # Additional compiler (optimization) flags for non-debug builds
51 # DEFAULT: compiler-dependent
52 #cc_optim = '-O3 -mmmx -msse'
53
54 # Additional compiler flags for debug builds
55 # DEFAULT: compiler-dependent
56 cc_debug = '-g'
57
58 # Additional flags to add to the C compiler only
59 # DEFAULT: '' (empty)
60 cc_extra = '-sox'
61 #cc_extra = '-fopenmp'
62
63 # Additional flags to add to the C++ compiler only
64 # DEFAULT: '' (empty)
65 cxx_extra = '-sox -I/opt/python-numpy/1.6.1-python-2.6/lib/python2.6/site-packages/numpy/core/include'
66 #cxx_extra = '-fopenmp'
67
68 # Additional flags to add to the linker
69 # DEFAULT: '' (empty)
70 ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'
71
72 # Whether to treat compiler warnings as errors
73 # DEFAULT: True
74 werror = False
75
76 # Whether to build a debug version
77 # DEFAULT: False
78 #debug = True
79
80 # Set to True to print the full compiler/linker command line
81 # DEFAULT: False
82 verbose = True
83
84 # Set to True to add flags that enable OpenMP parallelization
85 # DEFAULT: False
86 openmp = True
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
101 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
102 #mpi_prefix = '/opt/mpi/intel/openmpi/1.4.3-11.1'
103 mpi_prefix = '/opt/mpi/gcc/openmpi/1.4.3'
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'
111
112 # Prefix or paths to boost-python headers and libraries. See note above.
113 boost_prefix = '/opt/boost/1.46.1-python-2.6'
114
115 # boost-python library/libraries to link against
116 boost_libs = ['boost_python']
117
118 # Prefix or paths to CppUnit headers and libraries. See note above.
119 cppunit_prefix = '/opt/cppunit/1.12.1'
120
121 # CppUnit library/libraries to link against
122 #cppunit_libs = ['cppunit']
123
124
125 # Whether to use the netCDF library for dump file support
126 # DEFAULT: False
127 netcdf = True
128
129 # Prefix or paths to netCDF headers and libraries. See note above.
130 netcdf_prefix = '/opt/netcdf/4.0.1'
131
132 # netCDF library/libraries to link against
133 netcdf_libs = ['netcdf_c++', 'netcdf']
134
135 # Whether to use the parMETIS library (only in conjunction with MPI)
136 # DEFAULT: False
137 parmetis = True
138
139 # Prefix or paths to parMETIS headers and libraries. See note above.
140 parmetis_prefix = '/opt/parmetis/3.1.1'
141
142 # parMETIS library/libraries to link against
143 parmetis_libs = ['parmetis', 'metis']
144
145 # Whether to use the Intel PAPI (Performance API) library
146 # DEFAULT: False
147 #papi = True
148
149 # Prefix or paths to PAPI headers and libraries. See note above.
150 #papi_prefix = '/usr/local'
151
152 # PAPI library/libraries to link against
153 #papi_libs = ['papi']
154
155 # Whether to use PAPI to instrument solver iterations
156 # DEFAULT: False
157 #papi_instrument_solver = True
158
159 # Whether to use Intel MKL (Math Kernel Library)
160 # DEFAULT: False
161 mkl = True
162
163 # Prefix or paths to MKL headers and libraries. See note above.
164 mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
165
166 # MKL library/libraries to link against
167 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
168 #mkl_libs = ['mkl_intel_lp64', 'mkl_sequential', 'mkl_core', 'pthread']
169
170 # Whether to use UMFPACK (requires AMD and BLAS)
171 # DEFAULT: False
172 #umfpack = True
173
174 # Prefix or paths to UMFPACK headers and libraries. See note above.
175 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
176
177 # UMFPACK library/libraries to link against
178 #umfpack_libs = ['umfpack']
179
180 # Flavour of LAPACK implementation
181 # Recognized values: 'none', 'clapack', 'mkl'
182 # DEFAULT: 'none' (do not use LAPACK)
183 lapack = 'mkl'
184
185 # Prefix or paths to LAPACK headers and libraries. See note above.
186 lapack_prefix = mkl_prefix
187
188 # LAPACK library/libraries to link against
189 #lapack_libs = ['mkl_rt']
190 lapack_libs = ['mkl_core']
191
192 # Whether to use LLNL's SILO library for Silo output file support in weipa
193 # DEFAULT: False
194 silo = True
195
196 # Prefix or paths to SILO headers and libraries. See note above.
197 silo_prefix = '/opt/silo/4.7.2'
198
199 # SILO library/libraries to link against
200 silo_libs = ['siloh5', 'hdf5']
201
202 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
203 # DEFAULT: False
204 visit = True
205
206 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
207 visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2'
208
209 # Sim2 library/libraries to link against
210 #visit_libs = ['simV2']
211
212 # Whether to use BoomerAMG (requires MPI)
213 # DEFAULT: False
214 #boomeramg = True
215
216 # Prefix or paths to BoomerAMG headers and libraries. See note above.
217 #boomeramg_prefix = '/opt/hypre/2.0.0'
218
219 # BoomerAMG library/libraries to link against
220 #boomeramg_libs = ['HYPRE']
221 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
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