Difference between revisions of "Install and configure MPI"

From SourceWiki
Jump to navigation Jump to search
Line 4: Line 4:
  
 
= Pre-requesite: ssh key pair authentication =
 
= Pre-requesite: ssh key pair authentication =
To use MPI on a network of computers, ypu need to be able to log in any of the computer without user interaction (password etc...) This is easily achieved using secure shell key authentication. The methodology to setup ssh to use key authentication is described in the article entitled "[[Configure_ssh_for_MPI | Configure ssh for MPI]]".
+
To use MPI on a network of computers, ypu need to be able to log in any of the computer without user interaction (password etc...) This is easily achieved using secure shell key authentication. The methodology to setup ssh to use key authentication is described in the article entitled "[[Configure_ssh_for_MPI| Configure ssh for MPI]]".
  
 
= Download MPI =
 
= Download MPI =

Revision as of 14:58, 21 August 2007


Article in construction

Pre-requesite: ssh key pair authentication

To use MPI on a network of computers, ypu need to be able to log in any of the computer without user interaction (password etc...) This is easily achieved using secure shell key authentication. The methodology to setup ssh to use key authentication is described in the article entitled " Configure 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