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

Contents of /trunk/scons/vmw_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: 8017 byte(s)
I changed some files.
Updated copyright notices, added GeoComp.



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 #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 = '/EHsc /GR /MD /I"C:/Program Files (x86)/Intel/Composer XE 2011 SP1/compiler/include/"'
52
53 # Additional compiler (optimization) flags for non-debug builds
54 # DEFAULT: compiler-dependent
55 #cc_optim = '/fast /Oi /W3 /Qinline-factor- /Qinline-min-size=0 /Qunroll'
56 cc_optim = '/fast /Oi /Qunroll'
57
58 # Additional compiler flags for debug builds
59 # DEFAULT: compiler-dependent
60 #cc_debug = '/Od /RTCcsu /Zi /Y- /debug:all /Qtrapuv'
61
62 # Additional flags to add to the C++ compiler
63 # DEFAULT: '' (empty)
64 #cxx_extra = ''
65
66 # Additional flags to add to the linker
67 # DEFAULT: '' (empty)
68 ld_extra = '/libpath:"C:/Program Files (x86)/Intel/Composer XE 2011 SP1/compiler/lib/ia32"'
69
70 # Whether to treat compiler warnings as errors
71 # DEFAULT: True
72 werror = False
73
74 # Whether to build a debug version
75 # DEFAULT: False
76 #debug = True
77
78 # Set to True to print the full compiler/linker command line
79 # DEFAULT: False
80 verbose = False
81
82 # Set to True to add flags that enable OpenMP parallelization
83 # DEFAULT: False
84 openmp = True
85
86 # Additional compiler flags for OpenMP builds
87 # /Qvec-report0 - Vectorise quietly - http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/cpp/lin/copts/common_options/option_vec_report.htm
88 # /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
89 # DEFAULT: compiler-dependent
90 omp_flags = '/Qvec-report0 /Qopenmp /Qopenmp-report0 /Qparallel'
91
92 # Additional linker flags for OpenMP builds
93 # DEFAULT: compiler-dependent
94 omp_ldflags = ''
95
96 # Flavour of MPI implementation
97 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
98 # DEFAULT: 'none' (disable MPI)
99 mpi = 'MPICH2' #'MPICH2'
100
101 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
102 mpi_prefix = "C:/Program Files (x86)/MPICH2"
103
104 # MPI libraries to link against
105 mpi_libs = ['mpi']
106
107 dotdot = os.path.realpath('..')
108
109 # Prefix or paths to boost-python headers and libraries. See note above.
110 boost_prefix = ['C:/projects/boost_1_47_0', 'C:/projects/boost_1_47_0/stage/lib']
111
112 # boost-python library/libraries to link against
113 boost_libs = ['boost_python-iw-mt-1_47']
114
115 # Prefix or paths to CppUnit headers and libraries. See note above.
116 #cppunit_prefix = 'C:/CppUnit'
117
118 # CppUnit library/libraries to link against
119 #cppunit_libs = ['cppunit']
120
121 # Whether to use the netCDF library for dump file support
122 # DEFAULT: False
123 netcdf = False
124
125 # Prefix or paths to netCDF headers and libraries. See note above.
126 netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
127
128 # netCDF library/libraries to link against
129 netcdf_libs = ['netcdf_cpp', 'netcdf']
130
131 # Whether to use the parMETIS library (only in conjunction with MPI)
132 # DEFAULT: False
133 #parmetis = True
134
135 # Prefix or paths to parMETIS headers and libraries. See note above.
136 #parmetis_prefix = 'C:/parmetis'
137
138 # parMETIS library/libraries to link against
139 #parmetis_libs = ['parmetis', 'metis']
140
141 # Whether to use the Intel PAPI (Performance API) library
142 # DEFAULT: False
143 #papi = True
144
145 # Prefix or paths to PAPI headers and libraries. See note above.
146 #papi_prefix = 'C:/papi'
147
148 # PAPI library/libraries to link against
149 #papi_libs = ['papi']
150
151 # Whether to use PAPI to instrument solver iterations
152 # DEFAULT: False
153 #papi_instrument_solver = True
154
155 # Whether to use Intel MKL (Math Kernel Library)
156 # DEFAULT: False
157 mkl = True
158
159 # Prefix or paths to MKL headers and libraries. See note above.
160 mkl_base_dir = 'C:/Program Files (x86)/Intel/Composer XE 2011 SP1/mkl'
161 mkl_prefix = [os.path.join(mkl_base_dir, 'include'), os.path.join(mkl_base_dir, 'lib/ia32')]
162
163 # MKL library/libraries to link against
164 mkl_libs = ['mkl_intel_c_dll', 'mkl_intel_thread_dll', 'mkl_core_dll', 'libiomp5md', 'mkl_solver', 'mkl_intel_thread', 'mkl_core']
165
166 # Whether to use UMFPACK (requires AMD and BLAS)
167 # DEFAULT: False
168 #umfpack = True
169
170 # Prefix or paths to UMFPACK headers and libraries. See note above.
171 #umfpack_prefix = 'C:/umfpack'
172
173 # UMFPACK library/libraries to link against
174 #umfpack_libs = ['umfpack']
175
176 # Whether to use BoomerAMG (requires MPI)
177 # DEFAULT: False
178 #boomeramg = True
179
180 # Prefix or paths to BoomerAMG headers and libraries. See note above.
181 #boomeramg_prefix = 'C:/boomeramg'
182
183 # BoomerAMG library/libraries to link against
184 #boomeramg_libs = ['HYPRE']
185
186 # Flavour of LAPACK implementation
187 # Recognized values: 'none', 'clapack', 'mkl'
188 # DEFAULT: 'none' (do not use LAPACK)
189 #lapack = 'clapack'
190 lapack = 'mkl'
191
192 # Prefix or paths to LAPACK headers and libraries. See note above.
193 #lapack_prefix = 'C:/lapack'
194 lapack_prefix = mkl_prefix
195
196 # LAPACK library/libraries to link against
197 lapack_libs = ['mkl_lapack95']
198
199 # Whether to use LLNL's SILO library for Silo output file support in weipa
200 # DEFAULT: False
201 #silo = True
202
203 # Prefix or paths to SILO headers and libraries. See note above.
204 #silo_prefix = 'C:/silo'
205
206 # SILO library/libraries to link against
207 #silo_libs = ['siloh5', 'hdf5']
208
209 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
210 # DEFAULT: False
211 #visit = True
212
213 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
214 #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
215
216 # Sim2 library/libraries to link against
217 #visit_libs = ['simV2']
218
219 # Build dynamic libraries only
220 #DEFAULT: False
221 build_shared = True
222
223
224 ### ADVANCED OPTIONS ###
225 # Do not change the following options unless you know what they do
226
227 # Use intel's VSL library for random data
228 # DEFAULT: False
229 #vsl_random = True
230
231 # Extra libraries to link with
232 # 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']
233 sys_libs = ['']
234
235 # Additional environmental variables to export to the tools
236 #env_export = []
237
238 # overloading - [('intelc',{'topdir':'/sw/sdev/intel/cc/x86_64/10.1.025'})]
239 tools_names = [('intelc',{'topdir':'C:/Program Files (x86)/Intel/Composer XE 2011 SP1'})]
240
241 #iknowwhatimdoing = False
242
243 #forcelazy = 'leave_alone'
244
245 #forcecollres = 'leave_alone'
246

  ViewVC Help
Powered by ViewVC 1.1.26