#/bin/sh #MSUB -l nodes=1:ppn=8 #MSUB -l feature=nehalem|harpertown #MSUB -l walltime=3:00:00 #MSUB -m be #MSUB -V #MSUB -o /export/home/username/scratch/stdout #MSUB -e /export/home/username/scratch/stderr #MSUB -d /export/home/username/scratch #MSUB -mb ##### Running commands exe=/opt/gridware/usersexecutable nproc=`cat $PBS_NODEFILE | wc -l` mpirun -np $nproc -machinefile $PBS_NODEFILE $exe > users.out