Job script template

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Chekh (Talk | contribs)
(Created page with "<pre> #!/bin/bash # the above line is called a 'hashbang' # # set the name of the job, this will appear in the job listing #$ -N example_job # # # set the maximum memory usage ...")
Newer edit →

Revision as of 12:22, 28 June 2013

#!/bin/bash
# the above line is called a 'hashbang'

#
# set the name of the job, this will appear in the job listing
#$ -N example_job
#

#
# set the maximum memory usage (per slot)
#$ -l h_vmem=3G
#

#
# set the maximum run time
#$ -l h_rt=12:00:00
#

#
# send mail when job ends or aborts
#$ -m ea
#

#
# specify an email address
#$ -M me@stanford.edu
#

# check for errors in the job submission options
#$ -w e

/full/path/to_command arg1 arg2 arg3 ...

#
Personal tools
Toolbox
LANGUAGES