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

Contents of /trunk/scons/ess_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 759 - (show annotations)
Thu Jun 29 01:53:23 2006 UTC (13 years, 1 month ago) by bcumming
File MIME type: text/x-python
File size: 2200 byte(s)
- added directory pythonMPI to the source tree. this directory contains
  the c++ wrapper that is used to run python scripts in parallel for the
  MPI version of escript/finley
- updated the SConstruct and ./scons/ess_options.py for conditional MPI
  compilation. To compile the MPI version on ESS uncomment the #define
  PASO_MPI in ./paso/src/Paso.h and add the command line option
  useMPI=yes when running scons.
- fixed a compile time error in the MPI build in  
  finley/src/CPPAdapter/MeshAdapterFactory.cpp 
     

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 # locations of include files for python
27 python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4'
28 python_lib_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/lib'
29 python_lib = 'python2.4'
30
31 # locations of libraries for boost
32 boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/include'
33 boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/lib'
34 boost_lib = 'boost_python-mt'
35
36 # locations of doc building executables
37 doxygen_path = '/raid2/tools/doxygen/1.4.2/gcc-3.3.5/bin'
38 epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin'
39 epydoc_pythonpath = '/raid2/tools/epydoc/2.1/python-2.3.4/lib/python2.3/site-packages'
40
41 # locations of PAPI
42 # papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include'
43 # papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib'
44 # papi_libs = [ 'papi' ]
45
46 # c flags to use
47 cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -openmp -openmp_report0 -fno-alias -c99 -w1 -fpic"
48 cc_flags_debug = '-g -O0 -openmp -openmp_report0 -c99 -w1 -fpic'
49
50 # c++ flags to use
51 cxx_flags = '-ansi'
52 cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
53
54 # c and c++ flags for MPI compilation
55 # c flags to use
56 cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -fno-alias -c99 -w1 -fpic -wd161"
57 cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161'
58
59 # c++ flags to use
60 cxx_flags_MPI = '-ansi -wd1563 -wd161'
61 cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161'
62
63 # system specific libraries to link with
64 sys_libs = ['guide', 'irc']

  ViewVC Help
Powered by ViewVC 1.1.26