/[escript]/branches/arrayview_from_1695_trunk/scons/ess_options.py
ViewVC logotype

Contents of /branches/arrayview_from_1695_trunk/scons/ess_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1459 - (show annotations)
Thu Mar 27 01:49:10 2008 UTC (11 years, 1 month ago) by ksteube
Original Path: trunk/scons/ess_options.py
File MIME type: text/x-python
File size: 2793 byte(s)
Implemented ParMETIS for mesh partition optimization under MPI.
Documented optimize=True in User Guide for Brick() and Rectangle().

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 # flag the MPI settings
11 # useMPI = 'yes'
12
13 # TODO: Variables named *_path should be *_include
14
15 # locations of libs etc used by mkl
16 mkl_path = '/opt/intel/mkl80.019/include'
17 mkl_lib_path ='/opt/intel/mkl80.019/lib/64'
18 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
19
20 # locations of libs etc used by SCSL
21 scsl_path = '/usr/include'
22 scsl_lib_path = '/usr/lib'
23 scsl_libs = ['scs_mp']
24 scsl_libs_MPI = [ 'scs', 'mpi' ]
25
26 # Location of ParMETIS library
27 parmetis_path = '/data/raid2/toolspp4/parmetis/include'
28 parmetis_lib_path = '/data/raid2/toolspp4/parmetis/lib'
29 parmetis_lib = ['parmetis', 'metis']
30
31 # locations of include files for python
32 python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4'
33 python_lib_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/lib'
34 python_lib = 'python2.4'
35
36 # locations of libraries for boost
37 boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/include'
38 boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/lib'
39 boost_lib = 'boost_python-mt'
40
41 # locations of doc building executables
42 doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin'
43 epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'
44
45 # locations of netcdf
46 useNetCDF = 'yes'
47 netCDF_path = "/raid2/toolspp4/netcdf/3.6.1/gcc-3.3.6/include"
48 netCDF_lib_path = "/raid2/toolspp4/netcdf/3.6.1/gcc-3.3.6/lib"
49 netCDF_libs = [ 'netcdf_c++', 'netcdf']
50
51 # locations of PAPI
52 papi_instrument_solver = 0
53 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
54 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
55 # papi_libs = [ 'papi' ]
56
57 mpi_path = '/usr/include'
58 mpi_lib_path = '/usr/lib'
59 mpi_libs = [ 'mpi' ]
60 mpi_run = 'mpirun -np 1'
61
62 omp_flags = '-openmp -openmp_report2 '
63 omp_flags_debug = '-openmp -openmp_report0'
64
65 # c flags to use
66 cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -wd161 -fpic -ivdep-parallel"
67 cc_flags_debug = '-g -O0 -c99 -w1 -wd161 -fpic'
68
69 # c++ flags to use
70 cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND'
71 cxx_flags_debug = '-ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND'
72
73 # c and c++ flags for MPI compilation
74 # c flags to use
75 cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -fpic -wd161 -DPASO_MPI -ivdep-parallel"
76 cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161 -DPASO_MPI'
77
78 # c++ flags to use
79 cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND'
80 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND'
81
82 # system specific libraries to link with
83 sys_libs = ['guide', 'irc']

  ViewVC Help
Powered by ViewVC 1.1.26