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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4657 - (show annotations)
Thu Feb 6 06:12:20 2014 UTC (5 years, 9 months ago) by jfenwick
Original Path: trunk/scons/windows_intelc_options.py
File MIME type: text/x-python
File size: 7135 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 = 201
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 /Qvc7.1'
52
53 # Additional compiler (optimization) flags for non-debug builds
54 # DEFAULT: compiler-dependent
55 cc_optim = '/fast /Oi /W3 /Qssp /Qinline-factor- /Qinline-min-size=0 /Qunroll'
56
57 # Additional compiler flags for debug builds
58 # DEFAULT: compiler-dependent
59 cc_debug = '/Od /RTCcsu /Zi /Y- /debug:all /Qtrapuv'
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 = '/Qvec-report0 /Qopenmp /Qopenmp-report0 /Qparallel'
88
89 # Additional linker flags for OpenMP builds
90 # DEFAULT: compiler-dependent
91 omp_ldflags = '/Qvec-report0 /Qopenmp /Qopenmp-report0 /Qparallel'
92
93 # Flavour of MPI implementation
94 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
95 # DEFAULT: 'none' (disable MPI)
96 mpi = 'MPICH2'
97
98 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
99 mpi_prefix = 'C:/Program Files/MPICH2'
100
101 # MPI libraries to link against
102 mpi_libs = ['mpi']
103
104 dotdot = os.path.realpath('..')
105
106 # Prefix or paths to boost-python headers and libraries. See note above.
107 boost_prefix = [os.path.join(dotdot, 'boost_1_39_0'), os.path.join(dotdot, 'boost_1_39_0','stage','lib')]
108
109 # boost-python library/libraries to link against
110 boost_libs = ['boost_python-vc71-mt-1_39']
111
112 # Prefix or paths to CppUnit headers and libraries. See note above.
113 #cppunit_prefix = 'C:/CppUnit'
114
115 # CppUnit library/libraries to link against
116 #cppunit_libs = ['cppunit']
117
118 # Whether to use the netCDF library for dump file support
119 # DEFAULT: False
120 netcdf = True
121
122 # Prefix or paths to netCDF headers and libraries. See note above.
123 netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
124
125 # netCDF library/libraries to link against
126 netcdf_libs = ['netcdf_cpp', 'netcdf']
127
128 # Whether to use the parMETIS library (only in conjunction with MPI)
129 # DEFAULT: False
130 #parmetis = True
131
132 # Prefix or paths to parMETIS headers and libraries. See note above.
133 #parmetis_prefix = 'C:/parmetis'
134
135 # parMETIS library/libraries to link against
136 #parmetis_libs = ['parmetis', 'metis']
137
138 # Whether to use the Intel PAPI (Performance API) library
139 # DEFAULT: False
140 #papi = True
141
142 # Prefix or paths to PAPI headers and libraries. See note above.
143 #papi_prefix = 'C:/papi'
144
145 # PAPI library/libraries to link against
146 #papi_libs = ['papi']
147
148 # Whether to use PAPI to instrument solver iterations
149 # DEFAULT: False
150 #papi_instrument_solver = True
151
152 # Whether to use Intel MKL (Math Kernel Library)
153 # DEFAULT: False
154 #mkl = True
155
156 # Prefix or paths to MKL headers and libraries. See note above.
157 #mkl_prefix = 'C:/mkl'
158
159 # MKL library/libraries to link against
160 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
161
162 # Whether to use UMFPACK (requires AMD and BLAS)
163 # DEFAULT: False
164 #umfpack = True
165
166 # Prefix or paths to UMFPACK headers and libraries. See note above.
167 #umfpack_prefix = 'C:/umfpack'
168
169 # UMFPACK library/libraries to link against
170 #umfpack_libs = ['umfpack']
171
172 # Whether to use BoomerAMG (requires MPI)
173 # DEFAULT: False
174 #boomeramg = True
175
176 # Prefix or paths to BoomerAMG headers and libraries. See note above.
177 #boomeramg_prefix = 'C:/boomeramg'
178
179 # BoomerAMG library/libraries to link against
180 #boomeramg_libs = ['HYPRE']
181
182 # Flavour of LAPACK implementation
183 # Recognized values: 'none', 'clapack', 'mkl'
184 # DEFAULT: 'none' (do not use LAPACK)
185 #lapack = 'clapack'
186
187 # Prefix or paths to LAPACK headers and libraries. See note above.
188 #lapack_prefix = 'C:/lapack'
189
190 # LAPACK library/libraries to link against
191 #lapack_libs = ['lapack_atlas']
192
193 # Whether to use LLNL's SILO library for Silo output file support in weipa
194 # DEFAULT: False
195 #silo = True
196
197 # Prefix or paths to SILO headers and libraries. See note above.
198 #silo_prefix = 'C:/silo'
199
200 # SILO library/libraries to link against
201 #silo_libs = ['siloh5', 'hdf5']
202
203 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
204 # DEFAULT: False
205 #visit = True
206
207 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
208 #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
209
210 # Sim2 library/libraries to link against
211 #visit_libs = ['simV2']
212
213 # Build dynamic libraries only
214 #DEFAULT: False
215 #build_shared = True
216
217
218 ### ADVANCED OPTIONS ###
219 # Do not change the following options unless you know what they do
220
221 # Use intel's VSL library for random data
222 # DEFAULT: False
223 #vsl_random = True
224
225 # Extra libraries to link with
226 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']
227
228 # Additional environmental variables to export to the tools
229 #env_export = []
230
231 tools_names = ['intelc']
232
233 #iknowwhatimdoing = False
234
235 #forcelazy = 'leave_alone'
236
237 #forcecollres = 'leave_alone'
238

  ViewVC Help
Powered by ViewVC 1.1.26