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

Contents of /trunk/scons/vayu_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4353 - (show annotations)
Fri Apr 5 00:14:35 2013 UTC (6 years, 2 months ago) by caltinay
File MIME type: text/x-python
File size: 6765 byte(s)
For some reason std::isnan<float> is not available on NCI so changed this
to ::isnan. Added options file for NCI vayu.

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

  ViewVC Help
Powered by ViewVC 1.1.26