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

Contents of /trunk/scons/cgisrv3_options.py

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26