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

Annotation of /trunk/scons/vm_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4006 - (hide annotations)
Fri Sep 28 06:16:46 2012 UTC (7 years ago) by caltinay
File MIME type: text/x-python
File size: 6422 byte(s)
Update vm options to use pip-installed numpy.

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

  ViewVC Help
Powered by ViewVC 1.1.26