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

Contents of /trunk/scons/weasel_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4657 - (show annotations)
Thu Feb 6 06:12:20 2014 UTC (5 years, 10 months ago) by jfenwick
File MIME type: text/x-python
File size: 5920 byte(s)
I changed some files.
Updated copyright notices, added GeoComp.



1
2 ########################################################
3 #
4 # Copyright (c) 2003-2014 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13
14 # The options file version. SCons will refuse to build if there have been
15 # changes to the set of variables and your file has not been updated.
16 # This setting is mandatory.
17 escript_opts_version = 201
18
19 # Installation prefix. Files will be installed in subdirectories underneath.
20 # DEFAULT: '.' (current directory)
21 #prefix = '/usr/local'
22
23 # Top-level directory for intermediate build and test files.
24 # DEFAULT: 'build'
25 #build_dir = 'build'
26
27 # C++ compiler command name or full path.
28 # DEFAULT: auto-detected
29 #cxx = 'g++-4.6'
30
31 # Flags to use with the C++ compiler. Do not set unless you know
32 # what you are doing - use cxx_extra to specify additional flags!
33 # DEFAULT: compiler-dependent
34 #cc_flags = ''
35
36 # Additional compiler (optimization) flags for non-debug builds
37 # DEFAULT: compiler-dependent
38 cc_optim = '-O3 -march=native'
39
40 # Additional compiler flags for debug builds
41 # DEFAULT: compiler-dependent
42 #cc_debug = '-g'
43
44 # Additional flags to add to the C++ compiler
45 # DEFAULT: '' (empty)
46 cxx_extra = '-Wextra -Wno-unused-parameter'
47
48 # Additional flags to add to the linker
49 # DEFAULT: '' (empty)
50 #ld_extra = ''
51
52 # Whether to treat compiler warnings as errors
53 # DEFAULT: True
54 #werror = False
55
56 # Whether to build a debug version
57 # DEFAULT: False
58 #debug = True
59
60 # Set to True to print the full compiler/linker command line
61 # DEFAULT: False
62 verbose = True
63
64 # Set to True to add flags that enable OpenMP parallelization
65 # DEFAULT: False
66 openmp = True
67
68 # Additional compiler flags for OpenMP builds
69 # DEFAULT: compiler-dependent
70 #omp_flags = '-fopenmp'
71
72 # Additional linker flags for OpenMP builds
73 # DEFAULT: compiler-dependent
74 #omp_ldflags = '-fopenmp'
75
76 # Flavour of MPI implementation
77 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
78 # DEFAULT: 'none' (disable MPI)
79 #mpi = 'OPENMPI'
80
81 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
82 mpi_prefix = '/usr/lib/openmpi'
83
84 # MPI libraries to link against
85 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
86
87 # Prefix or paths to boost-python headers and libraries. See note above.
88 #boost_prefix = '/usr/local'
89
90 # boost-python library/libraries to link against
91 boost_libs = ['libboost_python-mt-py27']
92
93 # Prefix or paths to CppUnit headers and libraries. See note above.
94 #cppunit_prefix = '/usr/local'
95
96 # CppUnit library/libraries to link against
97 #cppunit_libs = ['cppunit']
98
99 # Whether to use the netCDF library for dump file support
100 # DEFAULT: False
101 netcdf = True
102
103 # Prefix or paths to netCDF headers and libraries. See note above.
104 #netcdf_prefix = '/usr/local'
105
106 # netCDF library/libraries to link against
107 #netcdf_libs = ['netcdf_c++', 'netcdf']
108
109 # Whether to use the parMETIS library (only in conjunction with MPI)
110 # DEFAULT: False
111 #parmetis = True
112
113 # Prefix or paths to parMETIS headers and libraries. See note above.
114 #parmetis_prefix = '/usr/local'
115
116 # parMETIS library/libraries to link against
117 #parmetis_libs = ['parmetis', 'metis']
118
119 # Whether to use the Intel PAPI (Performance API) library
120 # DEFAULT: False
121 #papi = True
122
123 # Prefix or paths to PAPI headers and libraries. See note above.
124 #papi_prefix = '/usr/local'
125
126 # PAPI library/libraries to link against
127 #papi_libs = ['papi']
128
129 # Whether to use PAPI to instrument solver iterations
130 # DEFAULT: False
131 #papi_instrument_solver = True
132
133 # Whether to use Intel MKL (Math Kernel Library)
134 # DEFAULT: False
135 #mkl = True
136
137 # Prefix or paths to MKL headers and libraries. See note above.
138 #mkl_prefix = '/usr'
139
140 # MKL library/libraries to link against
141 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
142
143 # Whether to use UMFPACK (requires AMD and BLAS)
144 # DEFAULT: False
145 #umfpack = True
146
147 # Prefix or paths to UMFPACK headers and libraries. See note above.
148 umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
149
150 # UMFPACK library/libraries to link against
151 umfpack_libs = ['umfpack', 'blas']
152
153 # Whether to use BoomerAMG (requires MPI)
154 # DEFAULT: False
155 #boomeramg = True
156
157 # Prefix or paths to BoomerAMG headers and libraries. See note above.
158 #boomeramg_prefix = '/usr/local'
159
160 # BoomerAMG library/libraries to link against
161 #boomeramg_libs = ['HYPRE']
162
163 # Flavour of LAPACK implementation
164 # Recognized values: 'none', 'clapack', 'mkl'
165 # DEFAULT: 'none' (do not use LAPACK)
166 #lapack = 'clapack'
167
168 # Prefix or paths to LAPACK headers and libraries. See note above.
169 lapack_prefix = ['/usr/include/atlas', '/usr/lib/atlas-base']
170
171 # LAPACK library/libraries to link against
172 lapack_libs = ['lapack_atlas']
173
174 # Whether to use LLNL's SILO library for Silo output file support in weipa
175 # DEFAULT: False
176 silo = True
177
178 # Prefix or paths to SILO headers and libraries. See note above.
179 #silo_prefix = '/usr/local'
180
181 # SILO library/libraries to link against
182 #silo_libs = ['siloh5', 'hdf5']
183
184 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
185 # DEFAULT: False
186 #visit = True
187
188 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
189 visit_prefix = '/opt/visit/2.4.0/linux-intel/libsim/V2'
190
191 # Sim2 library/libraries to link against
192 #visit_libs = ['simV2']
193
194 # Build dynamic libraries only
195 #DEFAULT: False
196 #build_shared = True
197
198
199 ### ADVANCED OPTIONS ###
200 # Do not change the following options unless you know what they do
201
202 # Use intel's VSL library for random data
203 # DEFAULT: False
204 #vsl_random = True
205
206 # Extra libraries to link with
207 #sys_libs = []
208
209 # Additional environmental variables to export to the tools
210 #env_export = []
211
212 #tools_names = ['default']
213
214 #iknowwhatimdoing = False
215
216 #forcelazy = 'leave_alone'
217
218 #forcecollres = 'leave_alone'
219

  ViewVC Help
Powered by ViewVC 1.1.26