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

Annotation of /trunk/scons/TEMPLATE_oneiric.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3942 - (hide annotations)
Fri Jul 27 01:04:48 2012 UTC (7 years, 2 months ago) by jfenwick
File MIME type: text/x-python
File size: 7265 byte(s)
Porting changes back from 3.3 release branch

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

  ViewVC Help
Powered by ViewVC 1.1.26