/[escript]/branches/split/scons/sage_options.py
ViewVC logotype

Annotation of /branches/split/scons/sage_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4520 - (hide annotations)
Thu Aug 22 06:42:57 2013 UTC (5 years, 6 months ago) by caltinay
Original Path: trunk/scons/sage_options.py
File MIME type: text/x-python
File size: 6879 byte(s)
Removing spurious usage of C compiler:
-Changed all scons tests to use C++ compiler
-Renamed paso profiling files (unused)
-Updated most options files (removal of options and updated comments)

1 jfenwick 3981
2     ##############################################################################
3     #
4 jfenwick 4154 # Copyright (c) 2003-2013 by University of Queensland
5 jfenwick 3981 # http://www.uq.edu.au
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     # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     # Development since 2012 by School of Earth Sciences
13     #
14     ##############################################################################
15    
16     # This is a template configuration file for escript/finley on Linux.
17     # Copy this file to <hostname>_options.py, where <hostname> is your machine's
18     # short hostname, then customize to your needs.
19    
20     # PREFIXES:
21     # There are two ways to specify where to find dependent headers and libraries
22     # (via the <dependency>_prefix):
23     # 1) If your installation follows the general scheme where headers are located
24     # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
25     # it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
26     # 2) Otherwise provide a list with two elements, where the first one is the
27     # include path, and the second the library path, e.g.
28     # boost_prefix=['/usr/include/boost1_44', '/usr/lib']
29     # All <dependency>_prefix settings default to '/usr'
30    
31     # The options file version. SCons will refuse to build if there have been
32     # changes to the set of variables and your file has not been updated.
33     # This setting is mandatory.
34     escript_opts_version = 201
35    
36     # Installation prefix. Files will be installed in subdirectories underneath.
37     # DEFAULT: '.' (current directory)
38     #prefix = '/usr/local'
39    
40     # Top-level directory for intermediate build and test files.
41     # DEFAULT: 'build'
42     #build_dir = 'build'
43    
44     # C++ compiler command name or full path.
45     # DEFAULT: auto-detected
46     #cxx = 'g++'
47    
48 caltinay 4520 # Flags to use with the C++ compiler. Do not set unless you know
49     # what you are doing - use cxx_extra to specify additional flags!
50 jfenwick 3981 # DEFAULT: compiler-dependent
51     #cc_flags = ''
52    
53     # Additional compiler (optimization) flags for non-debug builds
54     # DEFAULT: compiler-dependent
55     #cc_optim = '-O3 -mmmx -msse'
56    
57     # Additional compiler flags for debug builds
58     # DEFAULT: compiler-dependent
59     #cc_debug = '-g'
60    
61 caltinay 4520 # Additional flags to add to the C++ compiler
62 jfenwick 3981 # DEFAULT: '' (empty)
63     #cxx_extra = ''
64    
65     # Additional flags to add to the linker
66     # DEFAULT: '' (empty)
67     #ld_extra = ''
68    
69     # Whether to treat compiler warnings as errors
70     # DEFAULT: True
71     werror = False
72    
73     # Whether to build a debug version
74     # DEFAULT: False
75 jfenwick 4396 #debug = True
76 jfenwick 3981
77     # Set to True to print the full compiler/linker command line
78     # DEFAULT: False
79     #verbose = True
80    
81     # Set to True to add flags that enable OpenMP parallelization
82     # DEFAULT: False
83     openmp = True
84    
85     # Additional compiler flags for OpenMP builds
86     # DEFAULT: compiler-dependent
87     #omp_flags = '-fopenmp'
88    
89     # Additional linker flags for OpenMP builds
90     # DEFAULT: compiler-dependent
91     #omp_ldflags = '-fopenmp'
92    
93     # Flavour of MPI implementation
94     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
95     # DEFAULT: 'none' (disable MPI)
96     #mpi = 'OPENMPI'
97    
98     # Prefix or paths to MPI headers and libraries. See note above about prefixes.
99     mpi_prefix = '/usr/lib/openmpi'
100    
101     # MPI libraries to link against
102     mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
103    
104     # Prefix or paths to boost-python headers and libraries. See note above.
105     #boost_prefix = '/usr/local'
106    
107     # boost-python library/libraries to link against
108     boost_libs = ['boost_python-mt-py32']
109     boost_libs = ['boost_python-mt-py27']
110    
111     #pythoncmd='python3'
112     #usepython3=True
113     #pythonlibname='python3.2mu'
114    
115     # Prefix or paths to CppUnit headers and libraries. See note above.
116     #cppunit_prefix = '/usr/local'
117    
118     # CppUnit library/libraries to link against
119     #cppunit_libs = ['cppunit']
120    
121     # Whether to use the netCDF library for dump file support
122     # DEFAULT: False
123 jfenwick 4396 netcdf = True
124 jfenwick 3981
125     # Prefix or paths to netCDF headers and libraries. See note above.
126     #netcdf_prefix = '/usr/local'
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/local'
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     #umfpack_libs = ['umfpack']
174    
175     # 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     # Flavour of LAPACK implementation
186     # Recognized values: 'none', 'clapack', 'mkl'
187     # DEFAULT: 'none' (do not use LAPACK)
188     #lapack = 'clapack'
189    
190     # Prefix or paths to LAPACK headers and libraries. See note above.
191     #lapack_prefix = '/usr/local'
192    
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     # Build dynamic libraries only
217     #DEFAULT: False
218     #build_shared = True
219    
220    
221     ### ADVANCED OPTIONS ###
222     # Do not change the following options unless you know what they do
223    
224     # Use intel's VSL library for random data
225     # DEFAULT: False
226     #vsl_random = True
227    
228     # Extra libraries to link with
229     #sys_libs = []
230    
231     # Additional environmental variables to export to the tools
232     #env_export = []
233    
234     #tools_names = ['default']
235    
236     #iknowwhatimdoing = False
237    
238     #forcelazy = 'leave_alone'
239     #forcelazy= 'on'
240    
241     #forcecollres = 'leave_alone'
242    

  ViewVC Help
Powered by ViewVC 1.1.26