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

Annotation of /trunk/scons/hamster_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4362 - (hide annotations)
Tue Apr 16 04:37:13 2013 UTC (7 years, 6 months ago) by caltinay
File MIME type: text/x-python
File size: 6362 byte(s)
Implemented NumpyData downunder source (w/ tests).
Added check of data dimensionality to domainbuilder since data_dim must equal
domain_dim-1 at the moment.

1 caltinay 1984
2 jfenwick 3981 ##############################################################################
3 caltinay 1984 #
4 jfenwick 4154 # Copyright (c) 2003-2013 by University of Queensland
5 jfenwick 3981 # http://www.uq.edu.au
6 caltinay 1984 #
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 jfenwick 3981 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     # Development since 2012 by School of Earth Sciences
13     #
14     ##############################################################################
15 caltinay 1984
16 jfenwick 3259 # 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 caltinay 3597 escript_opts_version = 201
20 caltinay 1984
21 jfenwick 3259 # Installation prefix. Files will be installed in subdirectories underneath.
22     # DEFAULT: '.' (current directory)
23     #prefix = '/usr/local'
24 caltinay 1984
25 caltinay 3349 # Top-level directory for intermediate build and test files.
26     # DEFAULT: 'build'
27     #build_dir = 'build'
28    
29 jfenwick 3259 # C compiler command name or full path.
30     # DEFAULT: auto-detected
31 caltinay 3583 #cc = 'gcc-4.6'
32 caltinay 1984
33 jfenwick 3259 # C++ compiler command name or full path.
34     # DEFAULT: auto-detected
35 caltinay 3583 #cxx = 'g++-4.6'
36 caltinay 1984
37 jfenwick 3259 # Flags to use with both C and C++ compilers. Do not set unless you know
38     # what you are doing - use cc_extra to specify additional flags!
39     # DEFAULT: compiler-dependent
40     #cc_flags = ''
41 caltinay 1984
42 jfenwick 3259 # Additional compiler (optimization) flags for non-debug builds
43     # DEFAULT: compiler-dependent
44 caltinay 4097 cc_optim = '-O3 -march=native'
45 caltinay 1984
46 jfenwick 3259 # Additional compiler flags for debug builds
47     # DEFAULT: compiler-dependent
48     #cc_debug = '-g'
49 caltinay 1984
50 jfenwick 3259 # Additional flags to add to the C compiler only
51     # DEFAULT: '' (empty)
52 caltinay 3529 cc_extra = '-Wextra -Wno-unused-parameter'
53 caltinay 1984
54 jfenwick 3259 # Additional flags to add to the C++ compiler only
55     # DEFAULT: '' (empty)
56 caltinay 3529 cxx_extra = '-Wextra -Wno-unused-parameter'
57 caltinay 1984
58 jfenwick 3259 # Additional flags to add to the linker
59     # DEFAULT: '' (empty)
60     #ld_extra = ''
61 caltinay 1984
62 jfenwick 3259 # Whether to treat compiler warnings as errors
63     # DEFAULT: True
64     #werror = False
65 caltinay 1984
66 jfenwick 3259 # Whether to build a debug version
67     # DEFAULT: False
68     #debug = True
69 caltinay 3174
70 jfenwick 3259 # Set to True to print the full compiler/linker command line
71     # DEFAULT: False
72     verbose = True
73 caltinay 2184
74 jfenwick 3259 # Set to True to add flags that enable OpenMP parallelization
75     # DEFAULT: False
76     openmp = True
77 caltinay 3096
78 jfenwick 3259 # Additional compiler flags for OpenMP builds
79     # DEFAULT: compiler-dependent
80     #omp_flags = '-fopenmp'
81 caltinay 1984
82 jfenwick 3259 # Additional linker flags for OpenMP builds
83     # DEFAULT: compiler-dependent
84     #omp_ldflags = '-fopenmp'
85 caltinay 1984
86 jfenwick 3259 # Flavour of MPI implementation
87     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
88     # DEFAULT: 'none' (disable MPI)
89     mpi = 'OPENMPI'
90 caltinay 1984
91 jfenwick 3259 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
92     mpi_prefix = '/usr/lib/openmpi'
93 caltinay 1984
94 jfenwick 3259 # MPI libraries to link against
95     mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
96    
97     # Prefix or paths to boost-python headers and libraries. See note above.
98     #boost_prefix = '/usr/local'
99    
100     # boost-python library/libraries to link against
101 caltinay 3623 boost_libs = ['libboost_python-mt-py27']
102 jfenwick 3259
103 caltinay 3597 # Prefix or paths to CppUnit headers and libraries. See note above.
104     #cppunit_prefix = '/usr/local'
105    
106     # CppUnit library/libraries to link against
107     #cppunit_libs = ['cppunit']
108    
109 jfenwick 3259 # Whether to use the netCDF library for dump file support
110     # DEFAULT: False
111     netcdf = True
112    
113     # Prefix or paths to netCDF headers and libraries. See note above.
114     #netcdf_prefix = '/usr/local'
115    
116     # netCDF library/libraries to link against
117     #netcdf_libs = ['netcdf_c++', 'netcdf']
118    
119     # Whether to use the parMETIS library (only in conjunction with MPI)
120     # DEFAULT: False
121     parmetis = True
122    
123     # Prefix or paths to parMETIS headers and libraries. See note above.
124     #parmetis_prefix = '/usr/local'
125    
126     # parMETIS library/libraries to link against
127     #parmetis_libs = ['parmetis', 'metis']
128    
129     # Whether to use the Intel PAPI (Performance API) library
130     # DEFAULT: False
131     #papi = True
132    
133     # Prefix or paths to PAPI headers and libraries. See note above.
134     #papi_prefix = '/usr/local'
135    
136     # PAPI library/libraries to link against
137     #papi_libs = ['papi']
138    
139     # Whether to use PAPI to instrument solver iterations
140     # DEFAULT: False
141     #papi_instrument_solver = True
142    
143     # Whether to use Intel MKL (Math Kernel Library)
144     # DEFAULT: False
145     #mkl = True
146    
147     # Prefix or paths to MKL headers and libraries. See note above.
148     #mkl_prefix = '/usr'
149    
150     # MKL library/libraries to link against
151     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
152    
153     # Whether to use UMFPACK (requires AMD and BLAS)
154     # DEFAULT: False
155     umfpack = True
156    
157     # Prefix or paths to UMFPACK headers and libraries. See note above.
158     umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
159    
160     # UMFPACK library/libraries to link against
161 caltinay 4249 umfpack_libs = ['umfpack', 'blas', 'amd']
162 jfenwick 3259
163 caltinay 3597 # Whether to use BoomerAMG (requires MPI)
164     # DEFAULT: False
165     #boomeramg = True
166    
167     # Prefix or paths to BoomerAMG headers and libraries. See note above.
168     #boomeramg_prefix = '/usr/local'
169    
170     # BoomerAMG library/libraries to link against
171     #boomeramg_libs = ['HYPRE']
172    
173 jfenwick 3259 # Flavour of LAPACK implementation
174     # Recognized values: 'none', 'clapack', 'mkl'
175     # DEFAULT: 'none' (do not use LAPACK)
176     lapack = 'clapack'
177    
178     # Prefix or paths to LAPACK headers and libraries. See note above.
179     lapack_prefix = ['/usr/include/atlas', '/usr/lib/atlas-base']
180    
181     # LAPACK library/libraries to link against
182     lapack_libs = ['lapack_atlas']
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 caltinay 4362 silo_prefix = '/usr/local'
190 jfenwick 3259
191     # SILO library/libraries to link against
192 caltinay 4362 silo_libs = ['siloh5']
193 jfenwick 3259
194     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
195     # DEFAULT: False
196     visit = True
197    
198     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
199 caltinay 4249 visit_prefix = '/opt/visit/2.6.0/linux-x86_64/libsim/V2'
200 jfenwick 3259
201     # Sim2 library/libraries to link against
202     #visit_libs = ['simV2']
203    
204     # Whether to enable the deprecated PyVisi interface (requires the VTK python
205     # modules)
206     # DEFAULT: False
207     #pyvisi = True
208    
209 caltinay 3598 # Build dynamic libraries only
210     #DEFAULT: False
211     #build_shared = True
212 jfenwick 3259
213 caltinay 3598
214 jfenwick 3259 ### ADVANCED OPTIONS ###
215     # Do not change the following options unless you know what they do
216    
217 caltinay 3597 # Use intel's VSL library for random data
218     # DEFAULT: False
219     #vsl_random = True
220    
221 jfenwick 3259 # Extra libraries to link with
222     #sys_libs = []
223    
224     # Additional environmental variables to export to the tools
225     #env_export = []
226    
227     #tools_names = ['default']
228    
229     #iknowwhatimdoing = False
230    
231     #forcelazy = 'leave_alone'
232    
233     #forcecollres = 'leave_alone'
234    

  ViewVC Help
Powered by ViewVC 1.1.26