To interactively launch a test OpenMPI program on two processors:
Create a file in your home directory named machines, and put two entries in it, such as:
Now launch the job from the frontend:
$ ssh-agent $SHELL $ ssh-add $ /opt/openmpi/bin/mpirun -np 2 -machinefile machines /opt/mpi-tests/bin/mpi-ring
You must run MPI programs as a regular user (that is, not root).
If you don't have a user account on the cluster, create one for yourself, and propogate the information to the compute nodes with: