/
openMPI

openMPI

openMPI-gnu

Install Directory

Usage

module load  mpi/openmpi/4.0.2

###For openmpi, use the following syntax####
#module load mpi/openmpi/4.0.2
#mpiexec $PROGRAM NAME < $INPUT FILE >& $OUTPUT FILE


Installation notes

mkdir /sw/openMPI/
cd /sw/openMPI/
tar -zxvf /data1/openmpi-1.4.3.tar.gz
mkdir 1.4.3-gnu
mv openmpi-1.4.3 1.4.3-gnu/src
cd 1.4.3-gnu/src/
mkdir build; cd build
 ../configure  --prefix=/sw/openMPI/1.4.3-gnu
<snip...lot of output>
make all install


Sample interactive run


# Allocate a PBS job with 4 nodes
qsub -I -lnodes=4,walltime=00:10:00





Sample pbs file


###For openmpi, use the following syntax####
#module load mpi/openmpi/4.0.2
#mpiexec $PROGRAM NAME < $INPUT FILE >& $OUTPUT FILE