Changes between Version 10 and Version 11 of AnugaParallel


Ignore:
Timestamp:
Jan 10, 2012, 4:14:03 PM (13 years ago)
Author:
steve
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AnugaParallel

    v10 v11  
    11== INSTALLING anuga_parallel ==
    22
    3 First you should install the most uptodate version of the code. Follow the instructions to install [InstallUbuntuSvn Anuga on Ubuntu.]
     3First you should install the most uptodate version of the code. Follow the instructions to install [InstallUbuntuSvn Anuga on Ubuntu.] This should download the anuga code (along wit hte parallel code) to a directory of the form
     4{{{
     5/home/username/anuga_core
     6}}}
     7where username is of course your username on your machine.
    48
    59
    6 === anuga_parallel ===
    7 
    8 Well first you need to get the anuga_parallel code. You can get this from our svn repository with userid anonymous (blank password)
    9 
    10 The location is https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga_parallel
    11 
    12 (By the way, the most recent version of the development code of anuga
    13 is available at
    14 https://anuga.anu.edu.au/svn/anuga/trunk/anuga_core/source/anuga
    15 )
    16 
    17 Setup your PYTHONPATH to point to location of the source directory
     10Make sure you have setup your PYTHONPATH to point to location of the source directory
    1811
    1912For instance I have the following line in my .bashrc file
    2013
    2114{{{
    22 export PYTHONPATH=/home/steve/anuga/anuga_core/source
     15export PYTHONPATH=/home/username/anuga_core/source
    2316}}}
    2417
     18At this stage you should have a working version of the sequential anuga program. I.e. you should be able to run command
     19{{{
     20python test_all.py
     21}}}
     22from the anuga_core directory and have your installation pass all the tests (well nearly all as this is the development version and there are sometimes a few tests that fail).
     23
     24
     25== anuga_parallel ==
     26
     27Now to get anuga_parallel to work, we need to install some other packages.
    2528
    2629=== MPI ===
    2730
    28 Now you need to install MPI on your system. OPENMPI and MPICH2 are supported by pypar (see below) so both should be ok.
     31Now you need to install MPI on your system. OPENMPI and MPICH2 are supported by pypar (see below) so both should be ok. But I tend to use mpich2.
     32
     33So install mpich2 on your system via apt-get
     34{{{
     35sudo apt-get install mpich2
     36}}}
     37 
    2938
    3039Make sure mpi works. You should be able to run a program in parallel. Try something as simple as
     
    5867sudo python setup.py install
    5968}}}
     69
     70from the source directory in the pypar distribution.
     71
     72Fire up python and see if you can {{{import pypar}}}
    6073
    6174Make sure the pypar examples work