Skip to main content

5.13) Options Within Submission Script


Within scripts, lines beginning with # are interpreted as comments by the bash shell and lines starting with #$ are read by SGE. For example:

[bash]
#!/bin/bash
# Use current working directory
#$ -cwd
# Request 1 hour of runtime
#$ -l h_rt=1:00:00
# Merge standard error with standard output
#$ -j y
# Mail at the beginning and end of job execution
#$ -m be
[/bash]