Simple Single Threaded Job Script
From the command line create a new file called myjob.sh using Nano or VIM. Below is a simple script which sets your SGE environment and runs the "date" and "sleep" commands. Replace the commands with your program commands.
#!/bin/bash
#$ -N name_of_your_job
#$ -cwd
#$ -j y
#$ -S /bin/bash
#
. /etc/profile.d/modules.sh
module load shared app1 app2 app3 app4
# If any environment variable(s) need to be set do the following (but leave off the # sign):
# DATAPATH=/some/directory
# export DATAPATH
date
sleep 10
date
--
AdminUser - 27 Jun 2016