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

Annotation of /trunk/scons/shake34_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3793 - (hide annotations)
Wed Feb 1 07:39:43 2012 UTC (7 years, 8 months ago) by gross
File MIME type: text/x-python
File size: 6952 byte(s)
new implementation of FCT solver with some modifications to the python interface
1 gross 2284 ########################################################
2     #
3 jfenwick 2881 # Copyright (c) 2003-2010 by University of Queensland
4 gross 2284 # Earth Systems Science Computational Center (ESSCC)
5     # http://www.uq.edu.au/esscc
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     ########################################################
12    
13 gross 3283 # This is a template configuration file for escript/finley on Linux.
14     # Copy this file to <hostname>_options.py, where <hostname> is your machine's
15     # short hostname, then customize to your needs.
16 gross 2867
17 gross 3283 # PREFIXES:
18     # There are two ways to specify where to find dependent headers and libraries
19     # (via the <dependency>_prefix):
20     # 1) If your installation follows the general scheme where headers are located
21     # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
22     # it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
23     # 2) Otherwise provide a list with two elements, where the first one is the
24     # include path, and the second the library path, e.g.
25     # boost_prefix=['/usr/include/boost1_44', '/usr/lib']
26     # All <dependency>_prefix settings default to '/usr'
27 gross 2284
28 gross 3283 # The options file version. SCons will refuse to build if there have been
29     # changes to the set of variables and your file has not been updated.
30     # This setting is mandatory.
31 caltinay 3597 escript_opts_version = 201
32 gross 2284
33 gross 3283 # Installation prefix. Files will be installed in subdirectories underneath.
34     # DEFAULT: '.' (current directory)
35     #prefix = '/usr/local'
36 gross 2284
37 caltinay 3349 # Top-level directory for intermediate build and test files.
38     # DEFAULT: 'build'
39     #build_dir = 'build'
40    
41 gross 3283 # C compiler command name or full path.
42     # DEFAULT: auto-detected
43     #cc = 'gcc'
44 gross 2284
45 gross 3283 # C++ compiler command name or full path.
46     # DEFAULT: auto-detected
47     #cxx = 'g++'
48 gross 2284
49 gross 3283 # Flags to use with both C and C++ compilers. Do not set unless you know
50     # what you are doing - use cc_extra to specify additional flags!
51     # DEFAULT: compiler-dependent
52     #cc_flags = ''
53 gross 2284
54 gross 3283 # Additional compiler (optimization) flags for non-debug builds
55     # DEFAULT: compiler-dependent
56     #cc_optim = '-O3 -mmmx -msse'
57 gross 2284
58 gross 3283 # Additional compiler flags for debug builds
59     # DEFAULT: compiler-dependent
60     #cc_debug = '-g'
61 gross 2284
62 gross 3283 # Additional flags to add to the C compiler only
63     # DEFAULT: '' (empty)
64     #cc_extra = ''
65 gross 2284
66 gross 3283 # Additional flags to add to the C++ compiler only
67     # DEFAULT: '' (empty)
68     #cxx_extra = ''
69 gross 2284
70 gross 3283 # Additional flags to add to the linker
71     # DEFAULT: '' (empty)
72 gross 3793 #ld_extra = '-L/usr/lib'
73 gross 2284
74 gross 3283 # Whether to treat compiler warnings as errors
75     # DEFAULT: True
76     #werror = False
77 gross 2284
78 gross 3283 # Whether to build a debug version
79     # DEFAULT: False
80 gross 3793 debug = True
81 gross 2284
82 gross 3283 # Set to True to print the full compiler/linker command line
83     # DEFAULT: False
84 gross 3793 verbose = True
85 gross 2284
86 gross 3283 # Set to True to add flags that enable OpenMP parallelization
87     # DEFAULT: False
88 gross 3793 #openmp = True
89 gross 2284
90 gross 3283 # Additional compiler flags for OpenMP builds
91     # DEFAULT: compiler-dependent
92     #omp_flags = '-fopenmp'
93 gross 2284
94 gross 3283 # Additional linker flags for OpenMP builds
95     # DEFAULT: compiler-dependent
96     #omp_ldflags = '-fopenmp'
97    
98     # Flavour of MPI implementation
99     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
100     # DEFAULT: 'none' (disable MPI)
101 gross 3793 # mpi = 'OPENMPI'
102 gross 3283
103     # Prefix or paths to MPI headers and libraries. See note above about prefixes.
104     mpi_prefix = '/usr/lib/openmpi'
105    
106     # MPI libraries to link against
107     mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
108    
109     # Prefix or paths to boost-python headers and libraries. See note above.
110     boost_prefix = '/usr'
111    
112     # boost-python library/libraries to link against
113     boost_libs = ['boost_python']
114    
115 caltinay 3597 # Prefix or paths to CppUnit headers and libraries. See note above.
116 gross 3793 cppunit_prefix = '/usr'
117 caltinay 3597
118     # CppUnit library/libraries to link against
119 gross 3793 cppunit_libs = ['cppunit']
120 caltinay 3597
121 gross 3283 # Whether to use the netCDF library for dump file support
122     # DEFAULT: False
123     netcdf = True
124    
125     # Prefix or paths to netCDF headers and libraries. See note above.
126     netcdf_prefix = '/usr'
127    
128     # netCDF library/libraries to link against
129     netcdf_libs = ['netcdf_c++', 'netcdf']
130    
131     # Whether to use the parMETIS library (only in conjunction with MPI)
132     # DEFAULT: False
133     parmetis = True
134    
135     # Prefix or paths to parMETIS headers and libraries. See note above.
136     parmetis_prefix = '/usr'
137    
138     # parMETIS library/libraries to link against
139     parmetis_libs = ['parmetis', 'metis']
140    
141     # Whether to use the Intel PAPI (Performance API) library
142     # DEFAULT: False
143     #papi = True
144    
145     # Prefix or paths to PAPI headers and libraries. See note above.
146     #papi_prefix = '/usr/local'
147    
148     # PAPI library/libraries to link against
149     #papi_libs = ['papi']
150    
151     # Whether to use PAPI to instrument solver iterations
152     # DEFAULT: False
153     #papi_instrument_solver = True
154    
155     # Whether to use Intel MKL (Math Kernel Library)
156     # DEFAULT: False
157     #mkl = True
158    
159     # Prefix or paths to MKL headers and libraries. See note above.
160     #mkl_prefix = '/usr'
161    
162     # MKL library/libraries to link against
163     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
164    
165     # Whether to use UMFPACK (requires AMD and BLAS)
166     # DEFAULT: False
167     umfpack = True
168    
169     # Prefix or paths to UMFPACK headers and libraries. See note above.
170     umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
171    
172     # UMFPACK library/libraries to link against
173 gross 3793 ufpack_libs = ['umfpack']
174 gross 3283
175 caltinay 3597 # Whether to use BoomerAMG (requires MPI)
176     # DEFAULT: False
177     #boomeramg = True
178    
179     # Prefix or paths to BoomerAMG headers and libraries. See note above.
180     #boomeramg_prefix = '/usr/local'
181    
182     # BoomerAMG library/libraries to link against
183     #boomeramg_libs = ['HYPRE']
184    
185 gross 3283 # Flavour of LAPACK implementation
186     # Recognized values: 'none', 'clapack', 'mkl'
187     # DEFAULT: 'none' (do not use LAPACK)
188 gross 3358 lapack = 'clapack'
189 gross 3283
190     # Prefix or paths to LAPACK headers and libraries. See note above.
191 gross 3481 lapack_prefix = ['/usr/include/atlas', '/usr']
192 gross 3283
193     # LAPACK library/libraries to link against
194 gross 3358 lapack_libs = ['lapack_atlas']
195 gross 3283
196     # Whether to use LLNL's SILO library for Silo output file support in weipa
197     # DEFAULT: False
198 gross 3793 silo = True
199 gross 3283
200     # Prefix or paths to SILO headers and libraries. See note above.
201 gross 3793 silo_prefix = '/usr/local'
202 gross 3283
203     # SILO library/libraries to link against
204 gross 3793 silo_libs = ['silo']
205     # silo_libs = ['hdf5', 'silo']
206 gross 3283
207     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
208     # DEFAULT: False
209 gross 3793 visit = True
210 gross 3283
211     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
212 gross 3793 visit_prefix = '/opt/visit2_3_2.linux-x86_64/2.3.2/linux-x86_64/libsim/V2'
213 gross 3283
214 gross 3793 # sim2 library/libraries to link against
215 gross 3283 #visit_libs = ['simV2']
216    
217     # Whether to enable the deprecated PyVisi interface (requires the VTK python
218     # modules)
219     # DEFAULT: False
220     #pyvisi = True
221    
222 caltinay 3598 # Build dynamic libraries only
223     #DEFAULT: False
224     #build_shared = True
225 gross 3283
226 caltinay 3598
227 gross 3283 ### ADVANCED OPTIONS ###
228     # Do not change the following options unless you know what they do
229    
230 caltinay 3597 # Use intel's VSL library for random data
231     # DEFAULT: False
232     #vsl_random = True
233    
234 gross 3283 # Extra libraries to link with
235     #sys_libs = []
236    
237     # Additional environmental variables to export to the tools
238     #env_export = []
239    
240     #tools_names = ['default']
241    
242     #iknowwhatimdoing = False
243    
244     #forcelazy = 'leave_alone'
245    
246     #forcecollres = 'leave_alone'
247 caltinay 3598

  ViewVC Help
Powered by ViewVC 1.1.26