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

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

  ViewVC Help
Powered by ViewVC 1.1.26