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

Contents of /trunk/scons/epicuser2_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3622 - (show annotations)
Thu Oct 6 08:06:41 2011 UTC (9 years, 8 months ago) by trankine
File MIME type: text/x-python
File size: 7007 byte(s)
Epic.ivec.org scons build template
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 # This is a template configuration file for escript/finley on Linux.
15 # Copy this file to <hostname>_options.py, where <hostname> is your machine's
16 # short hostname, then customize to your needs.
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='/usr'
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=['/usr/include/boost1_44', '/usr/lib']
27 # All <dependency>_prefix settings default to '/usr'
28
29 # The options file version. SCons will refuse to build if there have been
30 # changes to the set of variables and your file has not been updated.
31 # This setting is mandatory.
32 escript_opts_version = 200
33
34 # Installation prefix. Files will be installed in subdirectories underneath.
35 # DEFAULT: '.' (current directory)
36 prefix = '/opt/escript/3.2.1'
37
38 # Top-level directory for intermediate build and test files.
39 # DEFAULT: 'build'
40 build_dir = 'build'
41
42 # C compiler command name or full path.
43 # DEFAULT: auto-detected
44 cc = 'gcc'
45
46 # C++ compiler command name or full path.
47 # DEFAULT: auto-detected
48 cxx = 'g++'
49
50 # Flags to use with both C and C++ compilers. Do not set unless you know
51 # what you are doing - use cc_extra to specify additional flags!
52 # DEFAULT: compiler-dependent
53 #cc_flags = ''
54
55 # Additional compiler (optimization) flags for non-debug builds
56 # DEFAULT: compiler-dependent
57 #cc_optim = '-O3 -mmmx -msse'
58
59 # Additional compiler flags for debug builds
60 # DEFAULT: compiler-dependent
61 #cc_debug = '-g'
62
63 # Additional flags to add to the C compiler only
64 # DEFAULT: '' (empty)
65 #cc_extra = ''
66
67 # Additional flags to add to the C++ compiler only
68 # DEFAULT: '' (empty)
69 #cxx_extra = ''
70
71 # Additional flags to add to the linker
72 # DEFAULT: '' (empty)
73 #ld_extra = '-shared-intel'
74
75 # Whether to treat compiler warnings as errors
76 # DEFAULT: True
77 werror = False
78
79 # Whether to build a debug version
80 # DEFAULT: False
81 debug = False
82
83 # Set to True to print the full compiler/linker command line
84 # DEFAULT: False
85 #verbose = True
86
87 # Set to True to add flags that enable OpenMP parallelization
88 # DEFAULT: False
89 openmp = False
90
91 # Additional compiler flags for OpenMP builds
92 # DEFAULT: compiler-dependent
93 #omp_flags = '-fopenmp'
94
95 # Additional linker flags for OpenMP builds
96 # DEFAULT: compiler-dependent
97 #omp_ldflags = '-fopenmp'
98
99 # Flavour of MPI implementation
100 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
101 # DEFAULT: 'none' (disable MPI)
102 mpi = 'OPENMPI'
103
104 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
105 mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib']
106
107 # MPI libraries to link against
108 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
109
110 # Prefix or paths to python headers and libraries. See note above.
111 # By default, this is determined using the running python executable.
112 python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib']
113
114 # Prefix or paths to boost-python headers and libraries. See note above.
115 boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib']
116
117 # boost-python library/libraries to link against
118 boost_libs = ['boost_python-gcc41-mt-1_39']
119
120 # Whether to use the netCDF library for dump file support
121 # DEFAULT: False
122 netcdf = True
123
124 # Prefix or paths to netCDF headers and libraries. See note above.
125 netcdf_prefix = ['/opt/netcdf/4.0.1/include', '/opt/netcdf/4.0.1/lib']
126
127 # netCDF library/libraries to link against
128 netcdf_libs = ['netcdf_c++', 'netcdf']
129
130 # Whether to use the parMETIS library (only in conjunction with MPI)
131 # DEFAULT: False
132 parmetis = True
133
134 # Prefix or paths to parMETIS headers and libraries. See note above.
135 parmetis_prefix = ['/opt/parmetis/3.1.1/include', '/opt/parmetis/3.1.1/lib']
136
137 # parMETIS library/libraries to link against
138 parmetis_libs = ['parmetis', 'metis']
139
140 # Whether to use the Intel PAPI (Performance API) library
141 # DEFAULT: False
142 #papi = True
143
144 # Prefix or paths to PAPI headers and libraries. See note above.
145 #papi_prefix = '/usr/local'
146
147 # PAPI library/libraries to link against
148 #papi_libs = ['papi']
149
150 # Whether to use PAPI to instrument solver iterations
151 # DEFAULT: False
152 #papi_instrument_solver = True
153
154 # Whether to use Intel MKL (Math Kernel Library)
155 # DEFAULT: False
156 mkl = True
157
158 # Prefix or paths to MKL headers and libraries. See note above.
159 mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
160
161 # MKL library/libraries to link against
162 mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'gomp', 'pthread']
163
164 # Whether to use UMFPACK (requires AMD and BLAS)
165 # DEFAULT: False
166 #umfpack = True
167
168 # Prefix or paths to UMFPACK headers and libraries. See note above.
169 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
170
171 # UMFPACK library/libraries to link against
172 #umfpack_libs = ['umfpack']
173
174 # Flavour of LAPACK implementation
175 # Recognized values: 'none', 'clapack', 'mkl'
176 # DEFAULT: 'none' (do not use LAPACK)
177 #lapack = 'clapack'
178
179 # Prefix or paths to LAPACK headers and libraries. See note above.
180 #lapack_prefix = '/usr/local'
181
182 # LAPACK library/libraries to link against
183 #lapack_libs = ['lapack_atlas']
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 = '/usr/local'
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 = True
198
199 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
200 #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
201
202 # Sim2 library/libraries to link against
203 #visit_libs = ['simV2']
204
205 # Whether to enable the deprecated PyVisi interface (requires the VTK python
206 # modules)
207 # DEFAULT: False
208 #pyvisi = True
209
210
211 ### ADVANCED OPTIONS ###
212 # Do not change the following options unless you know what they do
213
214 # Extra libraries to link with
215 #sys_libs = []
216
217 # Additional environmental variables to export to the tools
218 #env_export = []
219
220 # Build a shared esysUtils library
221 #share_esysutils = True
222
223 # Build a shared paso library
224 #share_paso = True
225
226 #tools_names = ['default']
227
228 #iknowwhatimdoing = False
229
230 #forcelazy = 'leave_alone'
231
232 #forcecollres = 'leave_alone'
233

  ViewVC Help
Powered by ViewVC 1.1.26