#!/bin/sh # job name (default is name of pbs script file) #PBS -N xhpl # join the standard output and error file #PBS -j oe # resource limits: allocate needed nodes #PBS -l nodes=8:ppn=2 # resource limits: maximum wall clock time ([[h:]m:]s) #PBS -l walltime=40:00:00 # PBS_O_WORKDIR: The working directory where you ran qsub. cd $PBS_O_WORKDIR . /usr/local/bin/mpich-1.2.5-nof90-vars.sh # Running your MPI binary mpirun -np 16 -machinefile $PBS_NODEFILE xhpl