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

Contents of /trunk/scons/raijin_options.py

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26