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

Annotation of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4657 - (hide annotations)
Thu Feb 6 06:12:20 2014 UTC (6 years ago) by jfenwick
File MIME type: text/x-python
File size: 6805 byte(s)
I changed some files.
Updated copyright notices, added GeoComp.



1 gross 3624
2 jfenwick 3981 ##############################################################################
3 gross 3624 #
4 jfenwick 4657 # Copyright (c) 2003-2014 by University of Queensland
5 jfenwick 3981 # http://www.uq.edu.au
6 gross 3624 #
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 jfenwick 4657 # Development 2012-2013 by School of Earth Sciences
13     # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 gross 3624 #
15 jfenwick 3981 ##############################################################################
16     #
17 gross 3624
18     #
19     # On epic.ivec.org: link this file to epicuser1_options.py and
20     # epicuser2_options.py
21     #
22    
23     # The options file version. SCons will refuse to build if there have been
24     # changes to the set of variables and your file has not been updated.
25     # This setting is mandatory.
26     escript_opts_version = 201
27    
28     # Installation prefix. Files will be installed in subdirectories underneath.
29     # DEFAULT: '.' (current directory)
30     #prefix = '/opt/escript/3.2.1'
31    
32     # Top-level directory for intermediate build and test files.
33     # DEFAULT: 'build'
34     build_dir = 'build'
35    
36     # C++ compiler command name or full path.
37     # DEFAULT: auto-detected
38 lgao 3647 cxx = 'icpc'
39     #cxx = 'g++'
40 gross 3624
41 caltinay 4520 # Flags to use with the C++ compiler. Do not set unless you know
42     # what you are doing - use cxx_extra to specify additional flags!
43 gross 3624 # DEFAULT: compiler-dependent
44     #cc_flags = ''
45    
46     # Additional compiler (optimization) flags for non-debug builds
47     # DEFAULT: compiler-dependent
48     #cc_optim = '-O3 -mmmx -msse'
49    
50     # Additional compiler flags for debug builds
51     # DEFAULT: compiler-dependent
52 lgao 3646 cc_debug = '-g'
53 gross 3624
54     # Additional flags to add to the C++ compiler only
55     # DEFAULT: '' (empty)
56 caltinay 3843 cxx_extra = '-sox -I/opt/python-numpy/1.6.1-python-2.6/lib/python2.6/site-packages/numpy/core/include'
57 lgao 3647 #cxx_extra = '-fopenmp'
58 gross 3624
59     # Additional flags to add to the linker
60     # DEFAULT: '' (empty)
61 lgao 3647 ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib'
62 gross 3624
63     # Whether to treat compiler warnings as errors
64     # DEFAULT: True
65     werror = False
66    
67     # Whether to build a debug version
68     # DEFAULT: False
69 caltinay 3843 #debug = True
70 gross 3624
71     # Set to True to print the full compiler/linker command line
72     # DEFAULT: False
73     verbose = True
74    
75     # Set to True to add flags that enable OpenMP parallelization
76     # DEFAULT: False
77 caltinay 3853 openmp = True
78 gross 3624
79     # Additional compiler flags for OpenMP builds
80     # DEFAULT: compiler-dependent
81 caltinay 3853 omp_flags = '-openmp -openmp-report2'
82 gross 3624
83     # Additional linker flags for OpenMP builds
84     # DEFAULT: compiler-dependent
85 caltinay 3843 #omp_ldflags = '-openmp'
86 gross 3624
87     # Flavour of MPI implementation
88     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
89     # DEFAULT: 'none' (disable MPI)
90 lgao 3647 mpi = 'OPENMPI'
91 gross 3624
92     # Prefix or paths to MPI headers and libraries. See note above about prefixes.
93 caltinay 3853 #mpi_prefix = '/opt/mpi/intel/openmpi/1.4.3-11.1'
94     mpi_prefix = '/opt/mpi/gcc/openmpi/1.4.3'
95 gross 3624
96     # MPI libraries to link against
97 caltinay 3843 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
98 gross 3624
99     # Prefix or paths to python headers and libraries. See note above.
100     # By default, this is determined using the running python executable.
101 caltinay 3843 #python_prefix = '/opt/python/2.6.7'
102 gross 3624
103     # Prefix or paths to boost-python headers and libraries. See note above.
104 caltinay 3843 boost_prefix = '/opt/boost/1.46.1-python-2.6'
105 gross 3624
106     # boost-python library/libraries to link against
107 lgao 3646 boost_libs = ['boost_python']
108 gross 3624
109 gross 3626 # Prefix or paths to CppUnit headers and libraries. See note above.
110     cppunit_prefix = '/opt/cppunit/1.12.1'
111    
112     # CppUnit library/libraries to link against
113     #cppunit_libs = ['cppunit']
114    
115    
116 gross 3624 # Whether to use the netCDF library for dump file support
117     # DEFAULT: False
118     netcdf = True
119    
120     # Prefix or paths to netCDF headers and libraries. See note above.
121 caltinay 3843 netcdf_prefix = '/opt/netcdf/4.0.1'
122 gross 3624
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 caltinay 3843 parmetis_prefix = '/opt/parmetis/3.1.1'
132 gross 3624
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 = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64']
156    
157     # MKL library/libraries to link against
158 caltinay 3865 mkl_libs = ['mkl_intel_lp64', 'mkl_intel_thread', 'mkl_core', 'pthread']
159     #mkl_libs = ['mkl_intel_lp64', 'mkl_sequential', 'mkl_core', 'pthread']
160 gross 3624
161     # Whether to use UMFPACK (requires AMD and BLAS)
162     # DEFAULT: False
163     #umfpack = True
164    
165     # Prefix or paths to UMFPACK headers and libraries. See note above.
166     #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
167    
168     # UMFPACK library/libraries to link against
169     #umfpack_libs = ['umfpack']
170    
171     # Flavour of LAPACK implementation
172     # Recognized values: 'none', 'clapack', 'mkl'
173     # DEFAULT: 'none' (do not use LAPACK)
174     lapack = 'mkl'
175    
176     # Prefix or paths to LAPACK headers and libraries. See note above.
177     lapack_prefix = mkl_prefix
178    
179     # LAPACK library/libraries to link against
180 lgao 3647 #lapack_libs = ['mkl_rt']
181 caltinay 3843 lapack_libs = ['mkl_core']
182 gross 3624
183     # Whether to use LLNL's SILO library for Silo output file support in weipa
184     # DEFAULT: False
185 gross 3626 silo = True
186 gross 3624
187     # Prefix or paths to SILO headers and libraries. See note above.
188 caltinay 3843 silo_prefix = '/opt/silo/4.7.2'
189 gross 3624
190     # SILO library/libraries to link against
191 gross 3626 silo_libs = ['siloh5', 'hdf5']
192 gross 3624
193     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
194     # DEFAULT: False
195     visit = True
196    
197     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
198 caltinay 3843 visit_prefix = '/opt/visit/2.3.1/2.3.1/linux-x86_64/libsim/V2'
199 gross 3624
200     # Sim2 library/libraries to link against
201     #visit_libs = ['simV2']
202    
203 gross 3626 # Whether to use BoomerAMG (requires MPI)
204     # DEFAULT: False
205 lgao 3647 #boomeramg = True
206 gross 3624
207 gross 3626 # Prefix or paths to BoomerAMG headers and libraries. See note above.
208 caltinay 3853 #boomeramg_prefix = '/opt/hypre/2.0.0'
209 gross 3624
210 gross 3626 # BoomerAMG library/libraries to link against
211 caltinay 3853 #boomeramg_libs = ['HYPRE']
212 gross 3626 #boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls']
213    
214    
215 gross 3624 ### ADVANCED OPTIONS ###
216     # Do not change the following options unless you know what they do
217    
218     # Extra libraries to link with
219     #sys_libs = []
220    
221     # Additional environmental variables to export to the tools
222     #env_export = []
223    
224     # Build a shared esysUtils library
225     #share_esysutils = True
226    
227     # Build a shared paso library
228     #share_paso = True
229    
230     #tools_names = ['default']
231    
232     #iknowwhatimdoing = False
233    
234     #forcelazy = 'leave_alone'
235    
236     #forcecollres = 'leave_alone'
237    

  ViewVC Help
Powered by ViewVC 1.1.26