/[escript]/branches/diaplayground/scons/cgisrv6_options.py
ViewVC logotype

Contents of /branches/diaplayground/scons/cgisrv6_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4940 - (show annotations)
Thu May 15 01:40:06 2014 UTC (5 years, 5 months ago) by caltinay
File MIME type: text/x-python
File size: 8213 byte(s)
A branch to have fun with diagonal storage for ripley.

1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2014 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 2012-2013 by School of Earth Sciences
13 # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 #
15 ##############################################################################
16
17 import os
18
19 # PREFIXES:
20 # There are two ways to specify where to find dependent headers and libraries
21 # (via the <dependency>_prefix):
22 # 1) If your installation follows the general scheme where headers are located
23 # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
24 # it is sufficient to specify this prefix, e.g. boost_prefix='C:/python'
25 # 2) Otherwise provide a list with two elements, where the first one is the
26 # include path, and the second the library path, e.g.
27 # boost_prefix=['C:/boost/include/boost1_44', 'C:/boost/lib']
28 # All <dependency>_prefix settings default to '/usr' so have to be set
29 # manually on Windows.
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 = 200
35
36 # Installation prefix. Files will be installed in subdirectories underneath.
37 # DEFAULT: '.' (current directory)
38 #prefix = 'C:/escript'
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 #cc = 'gcc'
47
48 # C++ compiler command name or full path.
49 # DEFAULT: auto-detected
50 #cxx = 'g++'
51
52 # Flags to use with both C and C++ compilers. Do not set unless you know
53 # what you are doing - use cc_extra to specify additional flags!
54 # DEFAULT: compiler-dependent
55 cc_flags = '/EHsc /GR /MD /I"C:/Program Files (x86)/Intel/Composer XE 2011 SP1/compiler/include/" /DCPPUNIT_BUILD_DLL'
56
57 # Additional compiler (optimization) flags for non-debug builds
58 # DEFAULT: compiler-dependent
59 cc_optim = '/fast /Oi /W3 /Qinline-factor- /Qinline-min-size=0 /Qunroll'
60 cc_optim = '/fast /Oi /Qunroll'
61
62 # Additional compiler flags for debug builds
63 # DEFAULT: compiler-dependent
64 #cc_debug = '/Od /RTCcsu /Zi /Y- /debug:all /Qtrapuv'
65
66 # Additional flags to add to the C compiler only
67 # DEFAULT: '' (empty)
68 #cc_extra = ''
69
70 # Additional flags to add to the C++ compiler only
71 # DEFAULT: '' (empty)
72 #cxx_extra = ''
73
74 # Additional flags to add to the linker
75 # DEFAULT: '' (empty)
76 ld_extra = '/libpath:"C:/Program Files (x86)/Intel/Composer XE 2011 SP1/compiler/lib/ia32"'
77
78 # Whether to treat compiler warnings as errors
79 # DEFAULT: True
80 werror = False
81
82 # Whether to build a debug version
83 # DEFAULT: False
84 #debug = True
85
86 # Set to True to print the full compiler/linker command line
87 # DEFAULT: False
88 verbose = False
89
90 # Set to True to add flags that enable OpenMP parallelization
91 # DEFAULT: False
92 openmp = True
93
94 # Additional compiler flags for OpenMP builds
95 # /Qvec-report0 - Vectorise quietly - http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/cpp/lin/copts/common_options/option_vec_report.htm
96 # /Qopenmp-report0 - OpenMP quietly (No diagnostics report generated.) - http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/cpp/lin/optaps/common/optaps_perf_openmprep.htm
97 # DEFAULT: compiler-dependent
98 omp_flags = '/Qvec-report0 /Qopenmp /Qopenmp-report0 /Qparallel'
99
100 # Additional linker flags for OpenMP builds
101 # DEFAULT: compiler-dependent
102 omp_ldflags = ''
103
104 # Flavour of MPI implementation
105 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
106 # DEFAULT: 'none' (disable MPI)
107 mpi = 'MPICH2' #'MPICH2'
108
109 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
110 mpi_prefix = "C:/Program Files (x86)/MPICH2"
111
112 # MPI libraries to link against
113 mpi_libs = ['mpi']
114
115 dotdot = os.path.realpath('..')
116
117 # Prefix or paths to boost-python headers and libraries. See note above.
118 boost_prefix = ['C:/projects/boost_1_47_0', 'C:/projects/boost_1_47_0/stage/lib']
119
120 # boost-python library/libraries to link against
121 boost_libs = ['boost_python-iw-mt-1_47']
122
123 # Prefix or paths to CppUnit headers and libraries. See note above.
124 #cppunit_prefix = 'C:/CppUnit'
125
126 # CppUnit library/libraries to link against
127 #cppunit_libs = ['cppunit']
128
129 # Whether to use the netCDF library for dump file support
130 # DEFAULT: False
131 netcdf = False
132
133 # Prefix or paths to netCDF headers and libraries. See note above.
134 netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
135
136 # netCDF library/libraries to link against
137 netcdf_libs = ['netcdf_cpp', 'netcdf']
138
139 # Whether to use the parMETIS library (only in conjunction with MPI)
140 # DEFAULT: False
141 #parmetis = True
142
143 # Prefix or paths to parMETIS headers and libraries. See note above.
144 #parmetis_prefix = 'C:/parmetis'
145
146 # parMETIS library/libraries to link against
147 #parmetis_libs = ['parmetis', 'metis']
148
149 # Whether to use the Intel PAPI (Performance API) library
150 # DEFAULT: False
151 #papi = True
152
153 # Prefix or paths to PAPI headers and libraries. See note above.
154 #papi_prefix = 'C:/papi'
155
156 # PAPI library/libraries to link against
157 #papi_libs = ['papi']
158
159 # Whether to use PAPI to instrument solver iterations
160 # DEFAULT: False
161 #papi_instrument_solver = True
162
163 # Whether to use Intel MKL (Math Kernel Library)
164 # DEFAULT: False
165 mkl = True
166
167 # Prefix or paths to MKL headers and libraries. See note above.
168 mkl_base_dir = 'C:/Program Files (x86)/Intel/Composer XE 2011 SP1/mkl'
169 mkl_prefix = [os.path.join(mkl_base_dir, 'include'), os.path.join(mkl_base_dir, 'lib/ia32')]
170
171 # MKL library/libraries to link against
172 mkl_libs = ['mkl_intel_c_dll', 'mkl_intel_thread_dll', 'mkl_core_dll', 'libiomp5md', 'mkl_solver', 'mkl_intel_thread', 'mkl_core']
173
174 # Whether to use UMFPACK (requires AMD and BLAS)
175 # DEFAULT: False
176 #umfpack = True
177
178 # Prefix or paths to UMFPACK headers and libraries. See note above.
179 #umfpack_prefix = 'C:/umfpack'
180
181 # UMFPACK library/libraries to link against
182 #umfpack_libs = ['umfpack']
183
184 # Whether to use BoomerAMG (requires MPI)
185 # DEFAULT: False
186 #boomeramg = True
187
188 # Prefix or paths to BoomerAMG headers and libraries. See note above.
189 #boomeramg_prefix = 'C:/boomeramg'
190
191 # BoomerAMG library/libraries to link against
192 #boomeramg_libs = ['HYPRE']
193
194 # Flavour of LAPACK implementation
195 # Recognized values: 'none', 'clapack', 'mkl'
196 # DEFAULT: 'none' (do not use LAPACK)
197 #lapack = 'clapack'
198 lapack = 'mkl'
199
200 # Prefix or paths to LAPACK headers and libraries. See note above.
201 #lapack_prefix = 'C:/lapack'
202 lapack_prefix = mkl_prefix
203
204 # LAPACK library/libraries to link against
205 lapack_libs = ['mkl_lapack95']
206
207 # Whether to use LLNL's SILO library for Silo output file support in weipa
208 # DEFAULT: False
209 #silo = True
210
211 # Prefix or paths to SILO headers and libraries. See note above.
212 #silo_prefix = 'C:/silo'
213
214 # SILO library/libraries to link against
215 #silo_libs = ['siloh5', 'hdf5']
216
217 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
218 # DEFAULT: False
219 #visit = True
220
221 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
222 #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
223
224 # Sim2 library/libraries to link against
225 #visit_libs = ['simV2']
226
227 # Build dynamic libraries only
228 #DEFAULT: False
229 build_shared = True
230
231
232 ### ADVANCED OPTIONS ###
233 # Do not change the following options unless you know what they do
234
235 # Use intel's VSL library for random data
236 # DEFAULT: False
237 #vsl_random = True
238
239 # Extra libraries to link with
240 # sys_libs = ['C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32', 'C:\Program Files\Intel\Compiler\C++\9.1\IA32\Lib\libguide40']
241 sys_libs = ['']
242
243 # Additional environmental variables to export to the tools
244 #env_export = []
245
246 # overloading - [('intelc',{'topdir':'/sw/sdev/intel/cc/x86_64/10.1.025'})]
247 tools_names = [('intelc',{'topdir':'C:/Program Files (x86)/Intel/Composer XE 2011 SP1'})]
248
249 #iknowwhatimdoing = False
250
251 #forcelazy = 'leave_alone'
252
253 #forcecollres = 'leave_alone'
254

  ViewVC Help
Powered by ViewVC 1.1.26