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

Contents of /branches/diaplayground/scons/savanna_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: 6834 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 try:
18 import os
19 if not 'escript/dev-deps' in os.environ['LOADEDMODULES'].split(':'):
20 print("WARNING: The escript/dev-deps module does not appear to be loaded!")
21 except:
22 pass
23
24 # The options file version. SCons will refuse to build if there have been
25 # changes to the set of variables and your file has not been updated.
26 # This setting is mandatory.
27 escript_opts_version = 201
28
29 # Installation prefix. Files will be installed in subdirectories underneath.
30 # DEFAULT: '.' (current directory)
31 #prefix = '/usr/local'
32
33 # Top-level directory for intermediate build and test files.
34 # DEFAULT: 'build'
35 #build_dir = 'build'
36
37 # C++ compiler command name or full path.
38 # DEFAULT: auto-detected
39 #cxx = 'g++'
40
41 # Flags to use with the C++ compiler. Do not set unless you know
42 # what you are doing - use cc_extra to specify additional flags!
43 # DEFAULT: compiler-dependent
44 #cc_flags = ''
45
46 # Additional compiler (optimization) flags for non-debug builds
47 # DEFAULT: compiler-dependent
48 #cc_optim = '-O3 -mmmx -msse'
49
50 # Additional compiler flags for debug builds
51 # DEFAULT: compiler-dependent
52 #cc_debug = '-g'
53
54 # Additional flags to add to the C++ compiler
55 # DEFAULT: '' (empty)
56 cxx_extra = '-DCORE_ID1 -sox -I/sw/libs/numpy/x86_64/icc-14/1.8-py27_omp/lib/python2.7/site-packages/numpy/core/include'
57
58 # Additional flags to add to the linker
59 # DEFAULT: '' (empty)
60 ld_extra = '-shared-intel -L/sw/libs/hdf5/1.8.12-serial/lib -ipo-jobs4'
61
62 # Whether to treat compiler warnings as errors
63 # DEFAULT: True
64 werror = False
65
66 # Whether to build a debug version
67 # DEFAULT: False
68 # debug = True
69
70 # Set to True to print the full compiler/linker command line
71 # DEFAULT: False
72 verbose = True
73
74 # Set to True to add flags that enable OpenMP parallelization
75 # DEFAULT: False
76 openmp = True
77
78 # Additional compiler flags for OpenMP builds
79 # DEFAULT: compiler-dependent
80 #omp_flags = '-openmp -openmp-report=1'
81
82 # Additional linker flags for OpenMP builds
83 # DEFAULT: compiler-dependent
84 #omp_ldflags = '-fopenmp'
85
86 # Flavour of MPI implementation
87 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
88 # DEFAULT: 'none' (disable MPI)
89 mpi = 'INTELMPI'
90
91 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
92 mpi_prefix = '/sw/sdev/intel/impi/4.1.3.049/intel64'
93
94 # MPI libraries to link against
95 #mpi_libs = ['mpi']
96
97 # Prefix or paths to boost-python headers and libraries. See note above.
98 boost_prefix = '/sw/libs/boost/x86_64/gcc-4.3.2/python-2.7.3/boost_1_51_0'
99
100 # boost-python library/libraries to link against
101 boost_libs = ['boost_python']
102
103 # Prefix or paths to CppUnit headers and libraries. See note above.
104 cppunit_prefix = '/sw/apps/cppunit/x86_64/gcc-4.3.2/cppunit-1.12.1'
105
106 # CppUnit library/libraries to link against
107 #cppunit_libs = ['cppunit']
108
109 # Whether to use the netCDF library for dump file support
110 # DEFAULT: False
111 netcdf = True
112
113 # Prefix or paths to netCDF headers and libraries. See note above.
114 netcdf_prefix = '/sw/libs/netcdf/4.1.3'
115
116 # netCDF library/libraries to link against
117 netcdf_libs = ['netcdf_c++', 'netcdf', 'hdf5']
118
119 # Whether to use the parMETIS library (only in conjunction with MPI)
120 # DEFAULT: False
121 parmetis = True
122
123 # Prefix or paths to parMETIS headers and libraries. See note above.
124 parmetis_prefix = '/sw/libs/parmetis/x86_64/icc-13/parmetis-4.0.2'
125
126 # parMETIS library/libraries to link against
127 #parmetis_libs = ['parmetis', 'metis']
128
129 # Whether to use the Intel PAPI (Performance API) library
130 # DEFAULT: False
131 #papi = True
132
133 # Prefix or paths to PAPI headers and libraries. See note above.
134 #papi_prefix = '/usr/local'
135
136 # PAPI library/libraries to link against
137 #papi_libs = ['papi']
138
139 # Whether to use PAPI to instrument solver iterations
140 # DEFAULT: False
141 #papi_instrument_solver = True
142
143 # Whether to use Intel MKL (Math Kernel Library)
144 # DEFAULT: False
145 mkl = True
146
147 # Prefix or paths to MKL headers and libraries. See note above.
148 mkl_prefix = ['/sw/sdev/intel/composer_xe_2013_sp1.2.144/mkl/include', '/sw/sdev/intel/composer_xe_2013_sp1.2.144/mkl/lib/intel64']
149
150 # MKL library/libraries to link against
151 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
152
153 # Whether to use UMFPACK (requires AMD and BLAS)
154 # DEFAULT: False
155 umfpack = True
156
157 # Prefix or paths to UMFPACK headers and libraries. See note above.
158 umfpack_prefix = '/sw/libs/umfpack/x86_64/icc-13/umfpack-5.6.1'
159
160 # UMFPACK library/libraries to link against
161 umfpack_libs = ['umfpack', 'amd', 'suitesparseconfig']
162
163 # Whether to use BoomerAMG (requires MPI)
164 # DEFAULT: False
165 #boomeramg = True
166
167 # Prefix or paths to BoomerAMG headers and libraries. See note above.
168 boomeramg_prefix = '/sw/libs/hypre/x86_64/gcc-4.3.2/hypre-2.0.0'
169
170 # BoomerAMG library/libraries to link against
171 boomeramg_libs = ['HYPRE']
172 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
173
174 # Flavour of LAPACK implementation
175 # Recognized values: 'none', 'clapack', 'mkl'
176 # DEFAULT: 'none' (do not use LAPACK)
177 lapack = 'mkl'
178
179 # Prefix or paths to LAPACK headers and libraries. See note above.
180 lapack_prefix = mkl_prefix
181
182 # LAPACK library/libraries to link against
183 lapack_libs = ['mkl_core']
184
185 # Whether to use LLNL's SILO library for Silo output file support in weipa
186 # DEFAULT: False
187 silo = True
188
189 # Prefix or paths to SILO headers and libraries. See note above.
190 silo_prefix = '/sw/libs/silo/4.9.1'
191
192 # SILO library/libraries to link against
193 silo_libs = ['siloh5', 'hdf5']
194
195 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
196 # DEFAULT: False
197 visit = False
198
199 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
200 visit_prefix = '/sw/apps/visit/2.7.0/linux-x86_64/libsim/V2'
201
202 # Sim2 library/libraries to link against
203 #visit_libs = ['simV2']
204
205 # Build dynamic libraries only
206 #DEFAULT: False
207 #build_shared = True
208
209
210 ### ADVANCED OPTIONS ###
211 # Do not change the following options unless you know what they do
212
213 # Use intel's VSL library for random data
214 # DEFAULT: False
215 #vsl_random = True
216
217 # Extra libraries to link with
218 #sys_libs = []
219
220 # Additional environmental variables to export to the tools
221 env_export = ['INTEL_LICENSE_FILE']
222
223 tools_names = [('intelc',{'topdir':'/sw/sdev/intel/composer_xe_2013_sp1.2.144'})]
224
225
226 #iknowwhatimdoing = False
227
228 #forcelazy = 'leave_alone'
229
230 #forcecollres = 'leave_alone'
231

  ViewVC Help
Powered by ViewVC 1.1.26