MPI on the School Linux Network

·         There are two installationss of Open MPI Libraries on the school linux network. They are

For gnu compilers, it is in /usr/physics/openmpi/openmpi_gnu

For intel compilers, it is in /usr/physics/openmpi/openmpi_x64

·         In order to run your MPI programs over the school network, you need to set up password-less ssh to the networked Linux workstations. This is done by first generating an authentication key on the host you intend to 'mpirun' the MPI code from (e.g. on enki.physics.usyd.edu.au),

enki>ssh-keygen -t rsa

During this procedure you will be prompted for a passphrase - just hit return at that step (which corresponds to having no passphrase). After you have done this you need to do

enki> cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys

·         For Open MPI users:

Before using Open MPI, add

/usr/physics/openmpi_xxx/bin to your $PATH

/usr/physics/openmpi_xxx/lib to your $LD_LIBRARY_PATH

/usr/physics/openmpi_xxx/share/man to your $MANPATH

For example, with gnu compilers and cshrc,

setenv PATH /usr/physics/openmpi_gnu/bin:$PATH

setenv LD_LIBRARY_PATH /usr/physics/openmpi_gnu/lib:${LD_LIBRARY_PATH}

setenv MANPATH /usr/physics/openmpi_gnu/share/man:$MANPATH

Fo detailed information on this Open MPI installation, run

>ompi_info

For further information on compiling your mpi applications, refer to http://www.open-mpi.org/faq/?category=mpi-apps

for further information on running your MPI jobs, refer to http://www.open-mpi.org/faq/?category=running