MS&T cluster job

#!/bin/bash

#### module purge

#### module load openmpi/intel-10

#### mpif77 -i8 -r8 -shared-intel -align oriented.mpi.f -o oriented.mpi.lex

## Specify a jobname

#PBS -N 10ev.20deg

## Set the wall time HH:MM:SS

#PBS -l walltime=60:00:00

## Set the number of nodes

#PBS -l nodes=60:ppn=1

## Set the submission queue

###PBS -q phy_cpu@nic-cluster.srv.mst.edu

#PBS -q @nic-cluster.srv.mst.edu

## Mail to user on a=abort, b=begin, e=end

#PBS -m abe

## Combine the error message file with the output

#PBS -j oe

## Specify user for mail

#PBS -M youraddresshere@gmail.com

## Specify the user to run the job under

#PBS -u username

#PBS -v DISPLAY,PATH

######## Prerun to get job info

/share/apps/job_data_prerun.py

cd $PBS_O_WORKDIR

module list

######## working command to run:

mpirun -np 60 ./oriented.mpi.lex