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

Annotation of /trunk/scons/ess_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 790 - (hide annotations)
Wed Jul 26 23:12:34 2006 UTC (13 years, 2 months ago) by bcumming
File MIME type: text/x-python
File size: 2212 byte(s)
changes to escript/py_src/pdetools.py and /escript/src/Data.h/.cpp to
make the Locator work in MPI. escript::Data::mindp now returns a 3 tuple,
with the MPI rank of the process on which the minimum value occurs
included. escript::Data::convertToNumArrayFromDPNo also takes the ProcNo
to perform the MPI reduction.

This had to be implemented in both the MPI and non-MPI versions to allow
the necesary changes to the Python code in pdetools.py. In the non-MPI
version ProcNo is set to 0. This works for the explicit scripts tested
thus far, however if it causes problems in your scripts contact Ben or
Lutz, or revert the three files (pdetools.py, Data.h and Data.cpp) to
the previous version.  


1 elspeth 645
2 matt 738 # 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 elspeth 645
10 bcumming 751 # flag the MPI settings
11 bcumming 759 # useMPI = 'yes'
12 bcumming 751
13 matt 738 # TODO: Variables named *_path should be *_include
14 elspeth 645
15 gross 425 # locations of libs etc used by mkl
16     mkl_path = '/opt/intel/mkl80.019/include'
17 gross 584 mkl_lib_path ='/opt/intel/mkl80.019/lib/64'
18 gross 425 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
19    
20     # locations of libs etc used by SCSL
21 robwdcock 682 scsl_path = '/usr/include'
22     scsl_lib_path = '/usr/lib'
23 bcumming 759 scsl_libs = ['scs_mp']
24     scsl_libs_MPI = [ 'scs', 'mpi' ]
25 gross 425
26 gross 776
27 gross 425 # locations of include files for python
28 gross 776 python_path = '/data/raid2/toolspp4/python/2.4.1/gcc-3.3.6/include/python2.4'
29     python_lib_path = '/data/raid2/toolspp4/python/2.4.1/gcc-3.3.6/lib'
30 robwdcock 682 python_lib = 'python2.4'
31 gross 425
32     # locations of libraries for boost
33 gross 776 boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.1/gcc-3.3.6/include'
34     boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.1/gcc-3.3.6/lib'
35 matt 738 boost_lib = 'boost_python-mt'
36 jgs 226
37 jgs 486 # locations of doc building executables
38     doxygen_path = '/raid2/tools/doxygen/1.4.2/gcc-3.3.5/bin'
39     epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'
40 jgs 487 epydoc_pythonpath = '/raid2/tools/epydoc/2.1/python-2.3.4/lib/python2.3/site-packages'
41 jgs 486
42 gross 584 # locations of PAPI
43 gross 591 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
44     # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
45     # papi_libs = [ 'papi' ]
46 gross 584
47 bcumming 759 # c flags to use
48     cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -w1 -fpic"
49     cc_flags_debug = '-g -O0 -openmp -openmp_report0 -c99 -w1 -fpic'
50 bcumming 751
51 bcumming 759 # c++ flags to use
52     cxx_flags = '-ansi'
53     cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
54    
55     # c and c++ flags for MPI compilation
56 jgs 245 # c flags to use
57 bcumming 790 cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -fpic -wd161 -DPASO_MPI"
58 bcumming 761 cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161 -DPASO_MPI'
59 jgs 216
60 jgs 245 # c++ flags to use
61 bcumming 790 cxx_flags_MPI = '-ansi -wd1563 -wd161'
62     cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'
63 bcumming 759
64 jgs 252 # system specific libraries to link with
65     sys_libs = ['guide', 'irc']

  ViewVC Help
Powered by ViewVC 1.1.26