Install and configure MPI

From SourceWiki
Revision as of 10:46, 19 August 2007 by Jprenaud (talk | contribs)
Jump to navigation Jump to search


Article in construction

Pre-requesite: ssh login less access

Congigure_ssh_for_MPI

Download MPI

You can download from http://www-unix.mcs.anl.gov/mpi/mpich2/. You will end up with a gzipped tarbal. For the sake of MPI can be downloaded from http://www-unix.mcs.anl.gov/mpi/mpich2/. Install MPI and the MPI Fortran 90 compiler (mpif90) according to the MPI documentation. extract

Compilation

mpi directory tmp directory export F()=ifort cd tmp dir mpidir/configure --prefix=/mpidir

wait...

make 2>&1 make install

Configuration

add /path/to/mpi to PATH

create .mpd.conf as 600 with the sentence

secretword=something

something is a random string

Create hosts file

touch mpd.hosts

Trouble shooting

/etc/hosts