#!/bin/bash #PBS -l walltime=03:00:00 #PBS -l nodes=2:ppn=12 #PBS -W group_list=hokiespeed #PBS -q normal_q #Load modules module purge; module load gcc openmpi #Change to the directory from which the job was submitted cd $PBS_O_WORKDIR echo "Run mpiProg with $PBS_NP cores!" mpiexec -np $PBS_NP ./mpiProg exit;