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

Annotation of /trunk/scons/TEMPLATE_linux.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (hide annotations)
Mon Nov 15 05:09:56 2010 UTC (10 years, 2 months ago) by caltinay
File MIME type: text/x-python
File size: 6468 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 caltinay 3212
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 jfenwick 3335 escript_opts_version = 200
33 caltinay 3212
34     # Installation prefix. Files will be installed in subdirectories underneath.
35     # DEFAULT: '.' (current directory)
36     #prefix = '/usr/local'
37    
38 caltinay 3349 # Top-level directory for intermediate build and test files.
39     # DEFAULT: 'build'
40     #build_dir = 'build'
41    
42 caltinay 3212 # 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 jfenwick 3338 #boost_libs = ['boost_python-mt']
115 caltinay 3212
116     # Whether to use the netCDF library for dump file support
117 caltinay 3219 # DEFAULT: False
118     #netcdf = True
119 caltinay 3212
120     # Prefix or paths to netCDF headers and libraries. See note above.
121     #netcdf_prefix = '/usr/local'
122    
123     # netCDF library/libraries to link against
124     #netcdf_libs = ['netcdf_c++', 'netcdf']
125    
126     # Whether to use the parMETIS library (only in conjunction with MPI)
127     # DEFAULT: False
128     #parmetis = True
129    
130     # Prefix or paths to parMETIS headers and libraries. See note above.
131     #parmetis_prefix = '/usr/local'
132    
133     # parMETIS library/libraries to link against
134     #parmetis_libs = ['parmetis', 'metis']
135    
136     # Whether to use the Intel PAPI (Performance API) library
137     # DEFAULT: False
138     #papi = True
139    
140     # Prefix or paths to PAPI headers and libraries. See note above.
141     #papi_prefix = '/usr/local'
142    
143     # PAPI library/libraries to link against
144     #papi_libs = ['papi']
145    
146     # Whether to use PAPI to instrument solver iterations
147     # DEFAULT: False
148     #papi_instrument_solver = True
149    
150     # Whether to use Intel MKL (Math Kernel Library)
151     # DEFAULT: False
152     #mkl = True
153    
154     # Prefix or paths to MKL headers and libraries. See note above.
155     #mkl_prefix = '/usr'
156    
157     # MKL library/libraries to link against
158     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
159    
160     # Whether to use UMFPACK (requires AMD and BLAS)
161     # DEFAULT: False
162     #umfpack = True
163    
164     # Prefix or paths to UMFPACK headers and libraries. See note above.
165     #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
166    
167     # UMFPACK library/libraries to link against
168     #umfpack_libs = ['umfpack']
169    
170     # Flavour of LAPACK implementation
171     # Recognized values: 'none', 'clapack', 'mkl'
172     # DEFAULT: 'none' (do not use LAPACK)
173     #lapack = 'clapack'
174    
175     # Prefix or paths to LAPACK headers and libraries. See note above.
176     #lapack_prefix = '/usr/local'
177    
178     # LAPACK library/libraries to link against
179     #lapack_libs = ['lapack_atlas']
180    
181     # Whether to use LLNL's SILO library for Silo output file support in weipa
182     # DEFAULT: False
183     #silo = True
184    
185     # Prefix or paths to SILO headers and libraries. See note above.
186     #silo_prefix = '/usr/local'
187    
188     # SILO library/libraries to link against
189     #silo_libs = ['siloh5', 'hdf5']
190    
191     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
192     # DEFAULT: False
193     #visit = True
194    
195     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
196     #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
197    
198     # Sim2 library/libraries to link against
199     #visit_libs = ['simV2']
200    
201     # Whether to enable the deprecated PyVisi interface (requires the VTK python
202     # modules)
203     # DEFAULT: False
204     #pyvisi = True
205    
206    
207     ### ADVANCED OPTIONS ###
208     # Do not change the following options unless you know what they do
209    
210     # Extra libraries to link with
211     #sys_libs = []
212    
213     # Additional environmental variables to export to the tools
214     #env_export = []
215    
216     # Build a shared esysUtils library
217     #share_esysutils = True
218    
219     # Build a shared paso library
220     #share_paso = True
221    
222     #tools_names = ['default']
223    
224     #iknowwhatimdoing = False
225    
226     #forcelazy = 'leave_alone'
227    
228     #forcecollres = 'leave_alone'
229    

  ViewVC Help
Powered by ViewVC 1.1.26