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

Contents of /trunk/scons/windows_intelc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4520 - (show annotations)
Thu Aug 22 06:42:57 2013 UTC (5 years, 8 months ago) by caltinay
File MIME type: text/x-python
File size: 7067 byte(s)
Removing spurious usage of C compiler:
-Changed all scons tests to use C++ compiler
-Renamed paso profiling files (unused)
-Updated most options files (removal of options and updated comments)

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

  ViewVC Help
Powered by ViewVC 1.1.26