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

Contents of /branches/complex/scons/magnus_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: 7807 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 # The options file version. SCons will refuse to build if there have been
18 # changes to the set of variables and your file has not been updated.
19 # This setting is mandatory.
20 escript_opts_version = 202
21
22 # Installation prefix. Files will be installed in subdirectories underneath.
23 # DEFAULT: '.' (current directory)
24 #prefix = '/usr/local'
25 #prefix = '/group/geosciences953/escript_directory/escript'
26
27 # Top-level directory for intermediate build and test files.
28 # DEFAULT: 'build'
29 #build_dir = 'build'
30
31 # C++ compiler command name or full path.
32 # DEFAULT: auto-detected
33 cxx = 'CC'
34
35 # Flags to use with the C++ compiler. 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
49 # DEFAULT: '' (empty)
50 #cxx_extra = '-shared -fPIC -h gnu -h nomessage=47:1199:1794:1836:11709'
51 cxx_extra = '-fPIC -I/group/geosciences953/escript_directory/escript/lib64/python2.6/site-packages/numpy/core/include'
52
53 # Additional flags to add to the linker
54 # DEFAULT: '' (empty)
55 #ld_extra = '-shared-intel -L/opt/cray/hdf5/1.8.11/cray/81/lib -ipo-jobs4'
56 #ld_extra = '-dynamic -L/ivec/cle50/devel/PrgEnv-gnu/5.0.41/hdf5/1.8.12/lib'
57 ld_extra = '-dynamic'
58
59 # launcher, prelaunch, postlaunch: for MPI builds/batch system runs
60 # the following substitutions are applied to all three:
61 # %b = executable, %n = number of nodes, %p = number of processes,
62 # %N = total number of processes, # %t = number of threads,
63 # %f = name of hostfile, %h = comma-separated list of hosts,
64 # %e = comma-separated list of environment variables to export
65 #prelaunch = "EE=$(echo -x %e|sed -e 's/,/ -x /g')"
66 prelaunch = ""
67 launcher = "aprun -B %b"
68 postlaunch = ""
69
70 # Whether to treat compiler warnings as errors
71 # DEFAULT: True
72 werror = False
73
74 # Whether to build a debug version
75 # DEFAULT: False
76 # debug = True
77
78 # Set to True to print the full compiler/linker command line
79 # DEFAULT: False
80 verbose = True
81
82 # Set to True to add flags that enable OpenMP parallelization
83 # DEFAULT: False
84 openmp = True
85
86 # Additional compiler flags for OpenMP builds
87 # DEFAULT: compiler-dependent
88 #omp_flags = '-homp'
89 omp_flags = '-fopenmp'
90
91 # Additional linker flags for OpenMP builds
92 # DEFAULT: compiler-dependent
93 omp_ldflags = '-fopenmp'
94
95 # Flavour of MPI implementation
96 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
97 # DEFAULT: 'none' (disable MPI)
98 mpi = 'MPICH2'
99
100 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
101 mpi_prefix = '/opt/cray/mpt/7.0.0/gni/mpich2-cray/83'
102
103 # MPI libraries to link against. Compiler wrapper takes care of this
104 #mpi_libs = ['mpich', 'mpichcxx']
105 mpi_libs = []
106
107
108 # Prefix or paths to boost-python headers and libraries. See note above.
109 #boost_prefix = '/ivec/cle50/devel/PrgEnv-intel/boost/1.55.0'
110 #boost_prefix = '/ivec/cle50/devel/PrgEnv-gnu/5.0.41/boost/1.49.0'
111 #boost_prefix = ['/home/caltinay/boost_1_55_0','/home/caltinay/boost_1_55_0/stage/lib']
112 boost_prefix = '/group/geosciences953/escript_directory/escript'
113
114 # boost-python library/libraries to link against
115 boost_libs = ['boost_python']
116
117 # Prefix or paths to CppUnit headers and libraries. See note above.
118 #cppunit_prefix = ''
119
120 # CppUnit library/libraries to link against
121 #cppunit_libs = ['cppunit']
122
123 # Whether to use the netCDF library for dump file support
124 # DEFAULT: False
125 netcdf = True
126
127 # Prefix or paths to netCDF headers and libraries. See note above.
128 #netcdf_prefix = '/opt/cray/netcdf-hdf5parallel/4.3.0/CRAY/81'
129 #netcdf_prefix = '/ivec/cle50/devel/PrgEnv-gnu/5.0.41/netcdf/4.1.3'
130 netcdf_prefix = '/group/geosciences953/escript_directory/escript'
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 = '/sw/libs/parmetis/x86_64/icc-13/parmetis-4.0.2'
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/composer_xe_2013.5.192/mkl/include', '/opt/intel/composer_xe_2013.5.192/mkl/lib/intel64']
165
166 # MKL library/libraries to link against
167 #mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
168
169 # Whether to use UMFPACK (requires AMD and BLAS)
170 # DEFAULT: False
171 #umfpack = True
172
173 # Prefix or paths to UMFPACK headers and libraries. See note above.
174 #umfpack_prefix = '/sw/libs/umfpack/x86_64/icc-13/umfpack-5.6.1'
175
176 # UMFPACK library/libraries to link against
177 #umfpack_libs = ['umfpack', 'amd', 'suitesparseconfig']
178
179 # Whether to use BoomerAMG (requires MPI)
180 # DEFAULT: False
181 #boomeramg = True
182
183 # Prefix or paths to BoomerAMG headers and libraries. See note above.
184 #boomeramg_prefix = '/sw/libs/hypre/x86_64/gcc-4.3.2/hypre-2.0.0'
185
186 # BoomerAMG library/libraries to link against
187 #boomeramg_libs = ['HYPRE']
188 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
189
190 # Flavour of LAPACK implementation
191 # Recognized values: 'none', 'clapack', 'mkl'
192 # DEFAULT: 'none' (do not use LAPACK)
193 #lapack = 'mkl'
194
195 # Prefix or paths to LAPACK headers and libraries. See note above.
196 #lapack_prefix = mkl_prefix
197
198 # LAPACK library/libraries to link against
199 #lapack_libs = ['mkl_core']
200
201 # Whether to use LLNL's SILO library for Silo output file support in weipa
202 # DEFAULT: False
203 silo = True
204
205 # Prefix or paths to SILO headers and libraries. See note above.
206 silo_prefix = '/group/geosciences953/escript_directory/escript'
207
208 # SILO library/libraries to link against
209 silo_libs = ['silo']
210
211 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
212 # DEFAULT: False
213 #visit = True
214
215 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
216 #visit_prefix = ''
217
218 # Sim2 library/libraries to link against
219 #visit_libs = ['simV2']
220
221 # Build dynamic libraries only
222 #DEFAULT: False
223 #build_shared = True
224
225
226 ### ADVANCED OPTIONS ###
227 # Do not change the following options unless you know what they do
228
229 # Use intel's VSL library for random data
230 # DEFAULT: False
231 #vsl_random = True
232
233 # Extra libraries to link with
234 #sys_libs = []
235
236 # Additional environmental variables to export to the tools
237 # On Cray the compiler wrapper depends on a lot of environment vars
238 # so we simply export everything
239 import os
240 env_export = os.environ.keys()
241
242 #tools_names = [('intelc',{'topdir':'/opt/intel/composer_xe_2013.5.192'})]
243
244 #iknowwhatimdoing = False
245
246 #forcelazy = 'leave_alone'
247
248 #forcecollres = 'leave_alone'
249

  ViewVC Help
Powered by ViewVC 1.1.26