/[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 4696 - (hide annotations)
Wed Feb 19 07:29:50 2014 UTC (5 years, 1 month ago) by jfenwick
Original Path: trunk/scons/sage_options.py
File MIME type: text/x-python
File size: 6940 byte(s)
Correcting python libname for sage.
Fixing bug where the number of values in the shape was not considered for buffer and message size.

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

  ViewVC Help
Powered by ViewVC 1.1.26