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

Contents of /trunk/scons/TEMPLATE_linux.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4520 - (show annotations)
Thu Aug 22 06:42:57 2013 UTC (5 years, 7 months ago) by caltinay
File MIME type: text/x-python
File size: 7084 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 # This is a template configuration file for escript/finley on Linux.
17 # Copy this file to <hostname>_options.py, where <hostname> is your machine's
18 # short hostname, then customize to your needs.
19
20 # PREFIXES:
21 # There are two ways to specify where to find dependent headers and libraries
22 # (via the <dependency>_prefix):
23 # 1) If your installation follows the general scheme where headers are located
24 # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
25 # it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
26 # 2) Otherwise provide a list with two elements, where the first one is the
27 # include path, and the second the library path, e.g.
28 # boost_prefix=['/usr/include/boost1_44', '/usr/lib']
29 # All <dependency>_prefix settings default to '/usr'
30
31 # The options file version. SCons will refuse to build if there have been
32 # changes to the set of variables and your file has not been updated.
33 # This setting is mandatory.
34 escript_opts_version = 201
35
36 # Installation prefix. Files will be installed in subdirectories underneath.
37 # DEFAULT: '.' (current directory)
38 #prefix = '/usr/local'
39
40 # Top-level directory for intermediate build and test files.
41 # DEFAULT: 'build'
42 #build_dir = 'build'
43
44 # C++ compiler command name or full path.
45 # DEFAULT: auto-detected
46 #cxx = 'g++'
47
48 # Flags to use with the C++ compiler. Do not set unless you know
49 # what you are doing - use cxx_extra to specify additional flags!
50 # DEFAULT: compiler-dependent
51 #cc_flags = ''
52
53 # Additional compiler (optimization) flags for non-debug builds
54 # DEFAULT: compiler-dependent
55 #cc_optim = '-O3 -mmmx -msse'
56
57 # Additional compiler flags for debug builds
58 # DEFAULT: compiler-dependent
59 #cc_debug = '-g'
60
61 # Additional flags to add to the C++ compiler
62 # DEFAULT: '' (empty)
63 #cxx_extra = ''
64
65 # Additional flags to add to the linker
66 # DEFAULT: '' (empty)
67 #ld_extra = ''
68
69 # Whether to treat compiler warnings as errors
70 # DEFAULT: True
71 #werror = False
72
73 # Whether to build a debug version
74 # DEFAULT: False
75 #debug = True
76
77 # Set to True to print the full compiler/linker command line
78 # DEFAULT: False
79 #verbose = True
80
81 # Set to True to add flags that enable OpenMP parallelization
82 # DEFAULT: False
83 #openmp = True
84
85 # Additional compiler flags for OpenMP builds
86 # DEFAULT: compiler-dependent
87 #omp_flags = '-fopenmp'
88
89 # Additional linker flags for OpenMP builds
90 # DEFAULT: compiler-dependent
91 #omp_ldflags = '-fopenmp'
92
93 # Flavour of MPI implementation
94 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
95 # DEFAULT: 'none' (disable MPI)
96 #mpi = 'OPENMPI'
97
98 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
99 #mpi_prefix = '/usr/lib/openmpi'
100
101 # MPI libraries to link against
102 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
103
104 # Prefix or paths to boost-python headers and libraries. See note above.
105 #boost_prefix = '/usr/local'
106
107 # boost-python library/libraries to link against
108 #boost_libs = ['boost_python-mt']
109
110 #if this is not 'python' the command will be used instead of the python
111 #version scons is running on
112 #pythoncmd='python'
113
114 #Set to true to build with python3 [You will need to set pythoncmd as well]
115 #usepython3=False
116
117 #name of the python library to link against. For Python2 you should not need
118 #to set this
119 #pythonlibname=''
120
121 # Prefix or paths to CppUnit headers and libraries. See note above.
122 #cppunit_prefix = '/usr/local'
123
124 # CppUnit library/libraries to link against
125 #cppunit_libs = ['cppunit']
126
127 # Whether to use the netCDF library for dump file support
128 # DEFAULT: False
129 #netcdf = True
130
131 # Prefix or paths to netCDF headers and libraries. See note above.
132 #netcdf_prefix = '/usr/local'
133
134 # netCDF library/libraries to link against
135 #netcdf_libs = ['netcdf_c++', 'netcdf']
136
137 # Whether to use the parMETIS library (only in conjunction with MPI)
138 # DEFAULT: False
139 #parmetis = True
140
141 # Prefix or paths to parMETIS headers and libraries. See note above.
142 #parmetis_prefix = '/usr/local'
143
144 # parMETIS library/libraries to link against
145 #parmetis_libs = ['parmetis', 'metis']
146
147 # Whether to use the Intel PAPI (Performance API) library
148 # DEFAULT: False
149 #papi = True
150
151 # Prefix or paths to PAPI headers and libraries. See note above.
152 #papi_prefix = '/usr/local'
153
154 # PAPI library/libraries to link against
155 #papi_libs = ['papi']
156
157 # Whether to use PAPI to instrument solver iterations
158 # DEFAULT: False
159 #papi_instrument_solver = True
160
161 # Whether to use Intel MKL (Math Kernel Library)
162 # DEFAULT: False
163 #mkl = True
164
165 # Prefix or paths to MKL headers and libraries. See note above.
166 #mkl_prefix = '/usr'
167
168 # MKL library/libraries to link against
169 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
170
171 # Whether to use UMFPACK (requires AMD and BLAS)
172 # DEFAULT: False
173 #umfpack = True
174
175 # Prefix or paths to UMFPACK headers and libraries. See note above.
176 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
177
178 # UMFPACK library/libraries to link against
179 #umfpack_libs = ['umfpack']
180
181 # Whether to use BoomerAMG (requires MPI)
182 # DEFAULT: False
183 #boomeramg = True
184
185 # Prefix or paths to BoomerAMG headers and libraries. See note above.
186 #boomeramg_prefix = '/usr/local'
187
188 # BoomerAMG library/libraries to link against
189 #boomeramg_libs = ['HYPRE']
190
191 # Flavour of LAPACK implementation
192 # Recognized values: 'none', 'clapack', 'mkl'
193 # DEFAULT: 'none' (do not use LAPACK)
194 #lapack = 'clapack'
195
196 # Prefix or paths to LAPACK headers and libraries. See note above.
197 #lapack_prefix = '/usr/local'
198
199 # LAPACK library/libraries to link against
200 #lapack_libs = ['lapack_atlas']
201
202 # Whether to use LLNL's SILO library for Silo output file support in weipa
203 # DEFAULT: False
204 #silo = True
205
206 # Prefix or paths to SILO headers and libraries. See note above.
207 #silo_prefix = '/usr/local'
208
209 # SILO library/libraries to link against
210 #silo_libs = ['siloh5', 'hdf5']
211
212 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
213 # DEFAULT: False
214 #visit = True
215
216 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
217 #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
218
219 # Sim2 library/libraries to link against
220 #visit_libs = ['simV2']
221
222 # Build dynamic libraries only
223 #DEFAULT: False
224 #build_shared = True
225
226
227 ### ADVANCED OPTIONS ###
228 # Do not change the following options unless you know what they do
229
230 # Use intel's VSL library for random data
231 # DEFAULT: False
232 #vsl_random = True
233
234 # Extra libraries to link with
235 #sys_libs = []
236
237 # Additional environmental variables to export to the tools
238 #env_export = []
239
240 #tools_names = ['default']
241
242 #iknowwhatimdoing = False
243
244 #forcelazy = 'leave_alone'
245
246 #forcecollres = 'leave_alone'
247

  ViewVC Help
Powered by ViewVC 1.1.26