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

Annotation of /trunk/scons/badger_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (hide annotations)
Mon Nov 15 05:09:56 2010 UTC (9 years ago) by caltinay
File MIME type: text/x-python
File size: 6359 byte(s)
escript now supports out-of-tree builds.
All build and test files are now created under a user-definable build_dir
directory.
This also fixes issue 291.
Removed most svn:ignore props since they are no longer required.

1 jfenwick 1690
2 ksteube 1810 ########################################################
3 jfenwick 1690 #
4 jfenwick 2881 # Copyright (c) 2003-2010 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     escript_opts_version = 200
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     #mpi = 'OPENMPI'
101    
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     #boost_libs = ['boost_python']
113    
114     # Whether to use the netCDF library for dump file support
115     # DEFAULT: False
116     #netcdf = True
117    
118     # Prefix or paths to netCDF headers and libraries. See note above.
119     netcdf_prefix = ['/usr/include/netcdf-3', '/usr/lib']
120    
121     # netCDF library/libraries to link against
122     #netcdf_libs = ['netcdf_c++', 'netcdf']
123    
124     # Whether to use the parMETIS library (only in conjunction with MPI)
125     # DEFAULT: False
126     parmetis = True
127    
128     # Prefix or paths to parMETIS headers and libraries. See note above.
129     #parmetis_prefix = '/usr/local'
130    
131     # parMETIS library/libraries to link against
132     #parmetis_libs = ['parmetis', 'metis']
133    
134     # Whether to use the Intel PAPI (Performance API) library
135     # DEFAULT: False
136     #papi = True
137    
138     # Prefix or paths to PAPI headers and libraries. See note above.
139     #papi_prefix = '/usr/local'
140    
141     # PAPI library/libraries to link against
142     #papi_libs = ['papi']
143    
144     # Whether to use PAPI to instrument solver iterations
145     # DEFAULT: False
146     #papi_instrument_solver = True
147    
148     # Whether to use Intel MKL (Math Kernel Library)
149     # DEFAULT: False
150     #mkl = True
151    
152     # Prefix or paths to MKL headers and libraries. See note above.
153     #mkl_prefix = '/usr'
154    
155     # MKL library/libraries to link against
156     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
157    
158     # Whether to use UMFPACK (requires AMD and BLAS)
159     # DEFAULT: False
160     #umfpack = True
161    
162     # Prefix or paths to UMFPACK headers and libraries. See note above.
163     #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
164    
165     # UMFPACK library/libraries to link against
166     #umfpack_libs = ['umfpack']
167    
168     # Flavour of LAPACK implementation
169     # Recognized values: 'none', 'clapack', 'mkl'
170     # DEFAULT: 'none' (do not use LAPACK)
171     lapack = 'clapack'
172    
173     # Prefix or paths to LAPACK headers and libraries. See note above.
174     lapack_prefix = ['/usr/include','/usr/lib/atlas']
175    
176     # LAPACK library/libraries to link against
177     lapack_libs = ['lapack_atlas']
178    
179     # Whether to use LLNL's SILO library for Silo output file support in weipa
180     # DEFAULT: False
181     #silo = True
182    
183     # Prefix or paths to SILO headers and libraries. See note above.
184     #silo_prefix = '/usr/local'
185    
186     # SILO library/libraries to link against
187     #silo_libs = ['siloh5', 'hdf5']
188    
189     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
190     # DEFAULT: False
191     #visit = True
192    
193     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
194     #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
195    
196     # Sim2 library/libraries to link against
197     #visit_libs = ['simV2']
198    
199     # Whether to enable the deprecated PyVisi interface (requires the VTK python
200     # modules)
201     # DEFAULT: False
202     #pyvisi = True
203    
204    
205     ### ADVANCED OPTIONS ###
206     # Do not change the following options unless you know what they do
207    
208     # Extra libraries to link with
209     #sys_libs = []
210    
211     # Additional environmental variables to export to the tools
212     #env_export = []
213    
214     # Build a shared esysUtils library
215     #share_esysutils = True
216    
217     # Build a shared paso library
218     #share_paso = True
219    
220     #tools_names = ['default']
221    
222     #iknowwhatimdoing = False
223    
224     #forcelazy = 'leave_alone'
225    
226     #forcecollres = 'leave_alone'
227    

Properties

Name Value
svn:mergeinfo /branches/lapack2681/scons/badger_options.py:2682-2741 /branches/restext/scons/badger_options.py:2610-2624

  ViewVC Help
Powered by ViewVC 1.1.26