#!/bin/bash #PBS -N testjob #(Job Name) #PBS -l nodes=20:ppn=16 #(Requests for 16 processors on each node of 20. ) #PBS -q qreg_1day_large #(Regular small queue run on 256-512 cores) #PBS -l mem=6gb #(Requests 6GB of memory in total ) #PBS -o outtest.log #(Writes output on this file) #PBS -e Error.log #(Writes Error on this file) module load <path of the required module> cd $PBS_O_WORKDIR mpirun -machinefile $PBS_NODEFILE -np <total no. of ppn among all nodes> <executable binary> <input file>