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

Annotation of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4406 - (hide annotations)
Tue May 14 02:54:09 2013 UTC (6 years, 5 months ago) by caltinay
File MIME type: text/x-python
File size: 6946 byte(s)
Removed references to pyvisi which disappeared a few releases ago...

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

  ViewVC Help
Powered by ViewVC 1.1.26