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

Annotation of /trunk/scons/epicuser_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3843 - (hide annotations)
Mon Feb 27 05:50:58 2012 UTC (8 years ago) by caltinay
File MIME type: text/x-python
File size: 6965 byte(s)
Updated epic options, disabled OpenMP until problems solved.

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

  ViewVC Help
Powered by ViewVC 1.1.26