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

Contents of /trunk/scons/vayu_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4520 - (show annotations)
Thu Aug 22 06:42:57 2013 UTC (6 years, 2 months ago) by caltinay
File MIME type: text/x-python
File size: 6464 byte(s)
Removing spurious usage of C compiler:
-Changed all scons tests to use C++ compiler
-Renamed paso profiling files (unused)
-Updated most options files (removal of options and updated comments)

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

  ViewVC Help
Powered by ViewVC 1.1.26