#!/bin/sh #PBS -A xy44_0001 #PBS -l walltime=02:00,nodes=4:ppn=1 #PBS -N mpiTest #PBS -j oe #PBS -q v4 # Count the number of nodes np=$(wc -l < $PBS_NODEFILE) # Boot mpi on the nodes mpdboot -n $np --verbose -r /usr/bin/ssh -f $PBS_NODEFILE # Now execute mpiexec -n $np $HOME/CIS4205/helloworld mpdallexit