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

Contents of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3624 - (show annotations)
Wed Oct 12 07:58:25 2011 UTC (8 years, 4 months ago) by gross
File MIME type: text/x-python
File size: 6342 byte(s)
changes for epic.ivec.org
1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 by University of Queensland
5 # Earth Systems Science Computational Center (ESSCC)
6 # http://www.uq.edu.au/esscc
7 #
8 # Primary Business: Queensland, Australia
9 # Licensed under the Open Software License version 3.0
10 # http://www.opensource.org/licenses/osl-3.0.php
11 #
12 ########################################################
13 #
14
15 #
16 # On epic.ivec.org: link this file to epicuser1_options.py and
17 # epicuser2_options.py
18 #
19
20 # The options file version. SCons will refuse to build if there have been
21 # changes to the set of variables and your file has not been updated.
22 # This setting is mandatory.
23 escript_opts_version = 201
24
25 # Installation prefix. Files will be installed in subdirectories underneath.
26 # DEFAULT: '.' (current directory)
27 #prefix = '/opt/escript/3.2.1'
28
29 # Top-level directory for intermediate build and test files.
30 # DEFAULT: 'build'
31 build_dir = 'build'
32
33 # C compiler command name or full path.
34 # DEFAULT: auto-detected
35 cc = 'icc'
36
37 # C++ compiler command name or full path.
38 # DEFAULT: auto-detected
39 cxx = 'icc'
40
41 # Flags to use with both C and C++ compilers. 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 only
55 # DEFAULT: '' (empty)
56 cc_extra = '-sox'
57
58 # Additional flags to add to the C++ compiler only
59 # DEFAULT: '' (empty)
60 cxx_extra = '-sox'
61
62 # Additional flags to add to the linker
63 # DEFAULT: '' (empty)
64 ld_extra = '-shared-intel'
65
66 # Whether to treat compiler warnings as errors
67 # DEFAULT: True
68 werror = False
69
70 # Whether to build a debug version
71 # DEFAULT: False
72 debug = False
73
74 # Set to True to print the full compiler/linker command line
75 # DEFAULT: False
76 verbose = True
77
78 # Set to True to add flags that enable OpenMP parallelization
79 # DEFAULT: False
80 openmp = True
81
82 # Additional compiler flags for OpenMP builds
83 # DEFAULT: compiler-dependent
84 omp_flags = '-openmp -openmp-report2'
85
86 # Additional linker flags for OpenMP builds
87 # DEFAULT: compiler-dependent
88 omp_ldflags = '-openmp'
89
90 # Flavour of MPI implementation
91 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
92 # DEFAULT: 'none' (disable MPI)
93 mpi = 'OPENMPI'
94
95 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
96 mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']
97
98 # MPI libraries to link against
99 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
100
101 # Prefix or paths to python headers and libraries. See note above.
102 # By default, this is determined using the running python executable.
103 python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib']
104
105 # Prefix or paths to boost-python headers and libraries. See note above.
106 boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib']
107
108 # boost-python library/libraries to link against
109 boost_libs = ['boost_python-gcc41-mt-1_39']
110
111 # Whether to use the netCDF library for dump file support
112 # DEFAULT: False
113 netcdf = True
114
115 # Prefix or paths to netCDF headers and libraries. See note above.
116 netcdf_prefix = ['/opt/netcdf/4.0.1/include', '/opt/netcdf/4.0.1/lib']
117
118 # netCDF library/libraries to link against
119 netcdf_libs = ['netcdf_c++', 'netcdf']
120
121 # Whether to use the parMETIS library (only in conjunction with MPI)
122 # DEFAULT: False
123 parmetis = True
124
125 # Prefix or paths to parMETIS headers and libraries. See note above.
126 parmetis_prefix = ['/opt/parmetis/3.1.1/include', '/opt/parmetis/3.1.1/lib']
127
128 # parMETIS library/libraries to link against
129 parmetis_libs = ['parmetis', 'metis']
130
131 # Whether to use the Intel PAPI (Performance API) library
132 # DEFAULT: False
133 #papi = True
134
135 # Prefix or paths to PAPI headers and libraries. See note above.
136 #papi_prefix = '/usr/local'
137
138 # PAPI library/libraries to link against
139 #papi_libs = ['papi']
140
141 # Whether to use PAPI to instrument solver iterations
142 # DEFAULT: False
143 #papi_instrument_solver = True
144
145 # Whether to use Intel MKL (Math Kernel Library)
146 # DEFAULT: False
147 mkl = True
148
149 # Prefix or paths to MKL headers and libraries. See note above.
150 mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
151
152 # MKL library/libraries to link against
153 mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'gomp', 'pthread']
154
155 # Whether to use UMFPACK (requires AMD and BLAS)
156 # DEFAULT: False
157 #umfpack = True
158
159 # Prefix or paths to UMFPACK headers and libraries. See note above.
160 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
161
162 # UMFPACK library/libraries to link against
163 #umfpack_libs = ['umfpack']
164
165 # Flavour of LAPACK implementation
166 # Recognized values: 'none', 'clapack', 'mkl'
167 # DEFAULT: 'none' (do not use LAPACK)
168 lapack = 'mkl'
169
170 # Prefix or paths to LAPACK headers and libraries. See note above.
171 lapack_prefix = mkl_prefix
172
173 # LAPACK library/libraries to link against
174 lapack_libs = ['mkl_rt']
175
176 # Whether to use LLNL's SILO library for Silo output file support in weipa
177 # DEFAULT: False
178 #silo = True
179
180 # Prefix or paths to SILO headers and libraries. See note above.
181 #silo_prefix = '/usr/local'
182
183 # SILO library/libraries to link against
184 #silo_libs = ['siloh5', 'hdf5']
185
186 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
187 # DEFAULT: False
188 visit = True
189
190 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
191 visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2/'
192
193 # Sim2 library/libraries to link against
194 #visit_libs = ['simV2']
195
196 # Whether to enable the deprecated PyVisi interface (requires the VTK python
197 # modules)
198 # DEFAULT: False
199 #pyvisi = True
200
201
202 ### ADVANCED OPTIONS ###
203 # Do not change the following options unless you know what they do
204
205 # Extra libraries to link with
206 #sys_libs = []
207
208 # Additional environmental variables to export to the tools
209 #env_export = []
210
211 # Build a shared esysUtils library
212 #share_esysutils = True
213
214 # Build a shared paso library
215 #share_paso = True
216
217 #tools_names = ['default']
218
219 #iknowwhatimdoing = False
220
221 #forcelazy = 'leave_alone'
222
223 #forcecollres = 'leave_alone'
224

  ViewVC Help
Powered by ViewVC 1.1.26