/[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 3975 - (hide annotations)
Thu Sep 20 01:54:06 2012 UTC (7 years, 1 month ago) by caltinay
Original Path: trunk/scons/badger_options.py
File MIME type: text/x-python
File size: 6899 byte(s)
Merged symbolic branch into trunk. Curious what daniel and spartacus have to
say...

1 jfenwick 1690
2 ksteube 1810 ########################################################
3 jfenwick 1690 #
4 jfenwick 3911 # Copyright (c) 2003-2012 by University of Queensland
5 ksteube 1810 # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 jfenwick 1690 #
8 ksteube 1810 # 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 jfenwick 1690
14 jfenwick 3259 # PREFIXES:
15     # There are two ways to specify where to find dependent headers and libraries
16     # (via the <dependency>_prefix):
17     # 1) If your installation follows the general scheme where headers are located
18     # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
19     # it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
20     # 2) Otherwise provide a list with two elements, where the first one is the
21     # include path, and the second the library path, e.g.
22     # boost_prefix=['/usr/include/boost1_44', '/usr/lib']
23     # All <dependency>_prefix settings default to '/usr'
24 ksteube 1810
25 jfenwick 3259 # The options file version. SCons will refuse to build if there have been
26     # changes to the set of variables and your file has not been updated.
27     # This setting is mandatory.
28 caltinay 3597 escript_opts_version = 201
29 jfenwick 1690
30 jfenwick 3259 # Installation prefix. Files will be installed in subdirectories underneath.
31     # DEFAULT: '.' (current directory)
32     #prefix = '/usr/local'
33 ksteube 1705
34 caltinay 3349 # Top-level directory for intermediate build and test files.
35     # DEFAULT: 'build'
36     #build_dir = 'build'
37    
38 jfenwick 3259 # C compiler command name or full path.
39     # DEFAULT: auto-detected
40     #cc = 'gcc'
41 ksteube 1705
42 jfenwick 3259 dudley_assemble_flags = '-funroll-loops'
43 ksteube 1705
44 jfenwick 3259 # C++ compiler command name or full path.
45     # DEFAULT: auto-detected
46     #cxx = 'g++'
47 ksteube 1705
48 jfenwick 3259 # Flags to use with both C and C++ compilers. Do not set unless you know
49     # what you are doing - use cc_extra to specify additional flags!
50     # DEFAULT: compiler-dependent
51     #cc_flags = ''
52 jfenwick 1690
53 jfenwick 3259 # Additional compiler (optimization) flags for non-debug builds
54     # DEFAULT: compiler-dependent
55     #cc_optim = '-O3 -mmmx -msse'
56 jfenwick 1690
57 jfenwick 3259 # Additional compiler flags for debug builds
58     # DEFAULT: compiler-dependent
59     #cc_debug = '-g'
60 ksteube 1705
61 jfenwick 3259 # Additional flags to add to the C compiler only
62     # DEFAULT: '' (empty)
63     #cc_extra = '--std=c99'
64 jfenwick 1690
65 jfenwick 3259 # Additional flags to add to the C++ compiler only
66     # DEFAULT: '' (empty)
67     #cxx_extra = ''
68 ksteube 1705
69 jfenwick 3259 # Additional flags to add to the linker
70     # DEFAULT: '' (empty)
71     #ld_extra = ''
72 ksteube 1705
73 jfenwick 3259 # Whether to treat compiler warnings as errors
74     # DEFAULT: True
75     #werror = False
76 jfenwick 2742
77 jfenwick 3259 # Whether to build a debug version
78     # DEFAULT: False
79     #debug = True
80 ksteube 1705
81 jfenwick 3259 # Set to True to print the full compiler/linker command line
82     # DEFAULT: False
83     #verbose = True
84 jfenwick 1690
85 jfenwick 3259 # Set to True to add flags that enable OpenMP parallelization
86     # DEFAULT: False
87     #openmp = True
88 jfenwick 1690
89 jfenwick 3259 # Additional compiler flags for OpenMP builds
90     # DEFAULT: compiler-dependent
91     #omp_flags = '-fopenmp'
92 ksteube 1705
93 jfenwick 3259 # Additional linker flags for OpenMP builds
94     # DEFAULT: compiler-dependent
95     #omp_ldflags = '-fopenmp'
96 ksteube 1705
97 jfenwick 3259 # Flavour of MPI implementation
98     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
99     # DEFAULT: 'none' (disable MPI)
100 jfenwick 3676 mpi = 'OPENMPI'
101 jfenwick 3259
102     # Prefix or paths to MPI headers and libraries. See note above about prefixes.
103     mpi_prefix = '/usr/lib/openmpi'
104    
105     # MPI libraries to link against
106     mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
107    
108     # Prefix or paths to boost-python headers and libraries. See note above.
109     #boost_prefix = '/usr/local'
110    
111     # boost-python library/libraries to link against
112 jfenwick 3548 boost_libs = ['libboost_python-mt-py26']
113 jfenwick 3259
114 caltinay 3597 # Prefix or paths to CppUnit headers and libraries. See note above.
115     #cppunit_prefix = '/usr/local'
116    
117     # CppUnit library/libraries to link against
118     #cppunit_libs = ['cppunit']
119    
120 jfenwick 3259 # 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 = ['/usr/include/netcdf-3', '/usr/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 jfenwick 3616 #parmetis = True
133 jfenwick 3259
134     # Prefix or paths to parMETIS headers and libraries. See note above.
135     #parmetis_prefix = '/usr/local'
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 = '/usr'
160    
161     # MKL library/libraries to link against
162     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', '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 caltinay 3597 # Whether to use BoomerAMG (requires MPI)
175     # DEFAULT: False
176     #boomeramg = True
177    
178     # Prefix or paths to BoomerAMG headers and libraries. See note above.
179     #boomeramg_prefix = '/usr/local'
180    
181     # BoomerAMG library/libraries to link against
182     #boomeramg_libs = ['HYPRE']
183    
184 jfenwick 3259 # Flavour of LAPACK implementation
185     # Recognized values: 'none', 'clapack', 'mkl'
186     # DEFAULT: 'none' (do not use LAPACK)
187     lapack = 'clapack'
188    
189     # Prefix or paths to LAPACK headers and libraries. See note above.
190 jfenwick 3548 #lapack_prefix = ['/usr/include','/usr/lib/atlas']
191     lapack_prefix = ['/usr/include/atlas', '/usr/lib/atlas-base']
192 jfenwick 3259
193     # LAPACK library/libraries to link against
194     lapack_libs = ['lapack_atlas']
195    
196     # Whether to use LLNL's SILO library for Silo output file support in weipa
197     # DEFAULT: False
198     #silo = True
199    
200     # Prefix or paths to SILO headers and libraries. See note above.
201     #silo_prefix = '/usr/local'
202    
203     # SILO library/libraries to link against
204     #silo_libs = ['siloh5', 'hdf5']
205    
206     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
207     # DEFAULT: False
208     #visit = True
209    
210     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
211     #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
212    
213     # Sim2 library/libraries to link against
214     #visit_libs = ['simV2']
215    
216     # Whether to enable the deprecated PyVisi interface (requires the VTK python
217     # modules)
218     # DEFAULT: False
219     #pyvisi = True
220    
221 caltinay 3598 # Build dynamic libraries only
222     #DEFAULT: False
223 jfenwick 3676 build_shared = True
224 jfenwick 3259
225 caltinay 3598
226 jfenwick 3259 ### ADVANCED OPTIONS ###
227     # Do not change the following options unless you know what they do
228    
229 caltinay 3597 # Use intel's VSL library for random data
230     # DEFAULT: False
231     #vsl_random = True
232    
233 jfenwick 3259 # Extra libraries to link with
234     #sys_libs = []
235    
236     # Additional environmental variables to export to the tools
237     #env_export = []
238    
239     #tools_names = ['default']
240    
241     #iknowwhatimdoing = False
242    
243     #forcelazy = 'leave_alone'
244    
245     #forcecollres = 'leave_alone'
246    

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

  ViewVC Help
Powered by ViewVC 1.1.26