#!/bin/tcsh -f # name of the job #PBS -N myjob # I am asking 4 cores in 1 node of the # xt21,xt22,xt23,xt24,xt25 #PBS -l nodes=1:ppn=4 # The directive below directs that the standard output and # error streams are to be merged, intermixed, as standard # output. #PBS -j oe # Specify the queue #PBS -q parallel #set path of my executable # in this example myexe.exe is a MPI built executable # and mydir is my subdirectory where myexec.exe and data files exist # cd $HOME/mydir /opt/openmpi/bin/mpirun -np 4 ./myexe.exe