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

Contents of /trunk/scons/TEMPLATE_linux.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3335 - (show annotations)
Wed Nov 3 05:02:57 2010 UTC (8 years, 2 months ago) by jfenwick
File MIME type: text/x-python
File size: 6363 byte(s)
Fix the launcher so that it can give an environment even if buildvars is not present.
Environment now includes scons for standalone builds.
Fixes and cleanup for the install documentation.
scons TEMPLATES updated to define the optionfile version by default.

...mumble
   finley no longer imports escript into the default namespace
...
1
2 ########################################################
3 #
4 # Copyright (c) 2003-2010 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 = 200
33
34 # Installation prefix. Files will be installed in subdirectories underneath.
35 # DEFAULT: '.' (current directory)
36 #prefix = '/usr/local'
37
38 # C compiler command name or full path.
39 # DEFAULT: auto-detected
40 #cc = 'gcc'
41
42 # C++ compiler command name or full path.
43 # DEFAULT: auto-detected
44 #cxx = 'g++'
45
46 # Flags to use with both C and C++ compilers. Do not set unless you know
47 # what you are doing - use cc_extra to specify additional flags!
48 # DEFAULT: compiler-dependent
49 #cc_flags = ''
50
51 # Additional compiler (optimization) flags for non-debug builds
52 # DEFAULT: compiler-dependent
53 #cc_optim = '-O3 -mmmx -msse'
54
55 # Additional compiler flags for debug builds
56 # DEFAULT: compiler-dependent
57 #cc_debug = '-g'
58
59 # Additional flags to add to the C compiler only
60 # DEFAULT: '' (empty)
61 #cc_extra = ''
62
63 # Additional flags to add to the C++ compiler only
64 # DEFAULT: '' (empty)
65 #cxx_extra = ''
66
67 # Additional flags to add to the linker
68 # DEFAULT: '' (empty)
69 #ld_extra = ''
70
71 # Whether to treat compiler warnings as errors
72 # DEFAULT: True
73 #werror = False
74
75 # Whether to build a debug version
76 # DEFAULT: False
77 #debug = True
78
79 # Set to True to print the full compiler/linker command line
80 # DEFAULT: False
81 #verbose = True
82
83 # Set to True to add flags that enable OpenMP parallelization
84 # DEFAULT: False
85 #openmp = True
86
87 # Additional compiler flags for OpenMP builds
88 # DEFAULT: compiler-dependent
89 #omp_flags = '-fopenmp'
90
91 # Additional linker flags for OpenMP builds
92 # DEFAULT: compiler-dependent
93 #omp_ldflags = '-fopenmp'
94
95 # Flavour of MPI implementation
96 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
97 # DEFAULT: 'none' (disable MPI)
98 #mpi = 'OPENMPI'
99
100 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
101 #mpi_prefix = '/usr/lib/openmpi'
102
103 # MPI libraries to link against
104 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
105
106 # Prefix or paths to boost-python headers and libraries. See note above.
107 #boost_prefix = '/usr/local'
108
109 # boost-python library/libraries to link against
110 #boost_libs = ['boost_python']
111
112 # Whether to use the netCDF library for dump file support
113 # DEFAULT: False
114 #netcdf = True
115
116 # Prefix or paths to netCDF headers and libraries. See note above.
117 #netcdf_prefix = '/usr/local'
118
119 # netCDF library/libraries to link against
120 #netcdf_libs = ['netcdf_c++', 'netcdf']
121
122 # Whether to use the parMETIS library (only in conjunction with MPI)
123 # DEFAULT: False
124 #parmetis = True
125
126 # Prefix or paths to parMETIS headers and libraries. See note above.
127 #parmetis_prefix = '/usr/local'
128
129 # parMETIS library/libraries to link against
130 #parmetis_libs = ['parmetis', 'metis']
131
132 # Whether to use the Intel PAPI (Performance API) library
133 # DEFAULT: False
134 #papi = True
135
136 # Prefix or paths to PAPI headers and libraries. See note above.
137 #papi_prefix = '/usr/local'
138
139 # PAPI library/libraries to link against
140 #papi_libs = ['papi']
141
142 # Whether to use PAPI to instrument solver iterations
143 # DEFAULT: False
144 #papi_instrument_solver = True
145
146 # Whether to use Intel MKL (Math Kernel Library)
147 # DEFAULT: False
148 #mkl = True
149
150 # Prefix or paths to MKL headers and libraries. See note above.
151 #mkl_prefix = '/usr'
152
153 # MKL library/libraries to link against
154 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
155
156 # Whether to use UMFPACK (requires AMD and BLAS)
157 # DEFAULT: False
158 #umfpack = True
159
160 # Prefix or paths to UMFPACK headers and libraries. See note above.
161 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
162
163 # UMFPACK library/libraries to link against
164 #umfpack_libs = ['umfpack']
165
166 # Flavour of LAPACK implementation
167 # Recognized values: 'none', 'clapack', 'mkl'
168 # DEFAULT: 'none' (do not use LAPACK)
169 #lapack = 'clapack'
170
171 # Prefix or paths to LAPACK headers and libraries. See note above.
172 #lapack_prefix = '/usr/local'
173
174 # LAPACK library/libraries to link against
175 #lapack_libs = ['lapack_atlas']
176
177 # Whether to use LLNL's SILO library for Silo output file support in weipa
178 # DEFAULT: False
179 #silo = True
180
181 # Prefix or paths to SILO headers and libraries. See note above.
182 #silo_prefix = '/usr/local'
183
184 # SILO library/libraries to link against
185 #silo_libs = ['siloh5', 'hdf5']
186
187 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
188 # DEFAULT: False
189 #visit = True
190
191 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
192 #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
193
194 # Sim2 library/libraries to link against
195 #visit_libs = ['simV2']
196
197 # Whether to enable the deprecated PyVisi interface (requires the VTK python
198 # modules)
199 # DEFAULT: False
200 #pyvisi = True
201
202
203 ### ADVANCED OPTIONS ###
204 # Do not change the following options unless you know what they do
205
206 # Extra libraries to link with
207 #sys_libs = []
208
209 # Additional environmental variables to export to the tools
210 #env_export = []
211
212 # Build a shared esysUtils library
213 #share_esysutils = True
214
215 # Build a shared paso library
216 #share_paso = True
217
218 #tools_names = ['default']
219
220 #iknowwhatimdoing = False
221
222 #forcelazy = 'leave_alone'
223
224 #forcecollres = 'leave_alone'
225

  ViewVC Help
Powered by ViewVC 1.1.26