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

Annotation of /trunk/scons/ess_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 751 - (hide annotations)
Mon Jun 26 01:46:34 2006 UTC (12 years, 10 months ago) by bcumming
File MIME type: text/x-python
File size: 2202 byte(s)
Changes relating to the MPI version of escript
The standard OpenMP version of escript is unchanged

- updated data types (Finley_Mesh, Finley_NodeFile, etc) to store meshes
  over multiple MPI processes.
- added CommBuffer code in Paso for communication of Data associated
  with distributed meshes
- updates in Finley and Escript to support distributed data and operations
  on distributed data (such as interpolation).
- construction of RHS in MPI, so that simple explicit schemes (such as
  /docs/examples/wave.py without IO and the Locator) can run in MPI.
- updated mesh generation for first order line, rectangle and brick
  meshes and second order line meshes in MPI.        
- small changes to trunk/SConstruct and trunk/scons/ess_options.py to
  build the MPI version, these changes are turned off by default.

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     use_MPI = False
12    
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 751 if use_MPI==False :
24     scsl_libs = ['scs_mp']
25     else :
26     scsl_libs = [ 'scs', 'mpi' ]
27 gross 425
28     # locations of include files for python
29 matt 738 python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4'
30     python_lib_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/lib'
31 robwdcock 682 python_lib = 'python2.4'
32 gross 425
33     # locations of libraries for boost
34 matt 738 boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/include'
35     boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/lib'
36     boost_lib = 'boost_python-mt'
37 jgs 226
38 jgs 486 # locations of doc building executables
39     doxygen_path = '/raid2/tools/doxygen/1.4.2/gcc-3.3.5/bin'
40     epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'
41 jgs 487 epydoc_pythonpath = '/raid2/tools/epydoc/2.1/python-2.3.4/lib/python2.3/site-packages'
42 jgs 486
43 gross 584 # locations of PAPI
44 gross 591 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
45     # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
46     # papi_libs = [ 'papi' ]
47 gross 584
48 bcumming 751 if use_MPI==False:
49     # c flags to use
50     cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -w1 -fpic"
51     cc_flags_debug = '-g -O0 -openmp -openmp_report0 -c99 -w1 -fpic'
52    
53     # c++ flags to use
54     cxx_flags = '-ansi'
55     cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
56    
57     else:
58 jgs 245 # c flags to use
59 bcumming 751 cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161"
60     cc_flags_debug = '-g -O0 -c99 -w1 -fpic -wd161'
61 jgs 216
62 jgs 245 # c++ flags to use
63 bcumming 751 cxx_flags = '-ansi -wd1563 -wd161'
64     cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'
65    
66 jgs 252 # system specific libraries to link with
67     sys_libs = ['guide', 'irc']

  ViewVC Help
Powered by ViewVC 1.1.26