/[escript]/branches/diaplayground/scons/badger_options.py
ViewVC logotype

Annotation of /branches/diaplayground/scons/badger_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4988 - (hide annotations)
Wed Jun 4 01:15:10 2014 UTC (5 years, 5 months ago) by caltinay
File MIME type: text/x-python
File size: 6776 byte(s)
merge to current trunk

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

Properties

Name Value
svn:mergeinfo /branches/lapack2681/scons/badger_options.py:2682-2741 /branches/pasowrap/scons/badger_options.py:3661-3674 /branches/py3_attempt2/scons/badger_options.py:3871-3891 /branches/restext/scons/badger_options.py:2610-2624 /branches/ripleygmg_from_3668/scons/badger_options.py:3669-3791 /branches/symbolic_from_3470/ripley/test/python/scons/badger_options.py:3517-3974 /branches/symbolic_from_3470/scons/badger_options.py:3471-3974 /trunk/ripley/test/python/scons/badger_options.py:3480-3515 /trunk/scons/badger_options.py:4940-4987

  ViewVC Help
Powered by ViewVC 1.1.26