/[escript]/branches/csiropost2.0/scons/ice_options_example.py
ViewVC logotype

Contents of /branches/csiropost2.0/scons/ice_options_example.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1561 - (show annotations)
Wed May 21 06:58:52 2008 UTC (11 years, 4 months ago) by ksteube
Original Path: trunk/scons/service0_options.py
File MIME type: text/x-python
File size: 1900 byte(s)
Added python method printParallelThreadCounts() to tell how many MPI CPUs and OpenMP threads we are using (for testing hybrid runs)

1
2 # Copyright 2006 by ACcESS MNRF
3 #
4 # http://www.access.edu.au
5 # Primary Business: Queensland, Australia
6 # Licensed under the Open Software License version 3.0
7 # http://www.opensource.org/licenses/osl-3.0.php
8 #
9
10 # Configuration for Savanna
11
12 # MKL
13 # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
14 # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
15 # mkl_libs = ['mkl_solver', 'mkl_lapack']
16
17 # ParMETIS
18 # parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
19 # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
20 # parmetis_lib = ['parmetis', 'metis']
21
22 # Python
23 python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'
24 python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'
25 python_lib = 'python2.4'
26
27 # Boost
28 boost_path = '/usr/include/boost'
29 boost_lib_path = '/usr/lib64'
30 boost_lib = 'boost_python'
31
32 # Documentation
33 # doxygen_path = '/sw/apps/.../bin'
34 # epydoc_path = '/sw/apps/.../bin'
35
36 # NetCDF
37 useNetCDF = 'yes'
38 netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'
39 netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'
40 netCDF_libs = ['netcdf_c++', 'netcdf']
41
42 # PAPI
43 papi_instrument_solver = 0
44 # papi_path = '/sw/.../include'
45 # papi_lib_path = '/sw/.../lib'
46 # papi_libs = ['papi']
47
48 # MPI
49 mpi_path = '/usr/include'
50 mpi_lib_path = '/usr/lib64'
51 mpi_libs = ['mpi']
52 mpi_run = 'mpirun -np 1'
53
54 # OpenMP (comment out to disable OpenMP)
55 omp_flags = '-openmp -openmp_report0'
56 omp_flags_debug = '-openmp -openmp_report0'
57
58 # C flags (also used by C++)
59 cc_flags = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER'
60 cc_flags_debug = '-g -ansi -fPIC'
61
62 # C++ flags
63 cxx_flags = ''
64 cxx_flags_debug = '-DDOASSERT -DDOPROF'
65
66 # System-specific libraries to link with
67 sys_libs = ['guide', 'pthread', 'stdc++']
68

  ViewVC Help
Powered by ViewVC 1.1.26