Skip to content

Category Archives: Sun Grid Engine

Sun Grid Engine

Anatomy of an SGE Job File

01-Jun-09

The contents of a basic Sun Grid Engine job file look something like this:

#!/bin/bash
# SGE uses shell script comments that start with “#$” to configure how
# SGE handles the job.
#
# Use the bash shell as the shell for the job:
#$ -S /bin/bash
#
# Write output and error stream to the current working directory:
#$ -cwd
#
# The job [...]

Basic SGE Commands

01-Jun-09

The “qstat” command provides information on the state of Grid Engine machines and queues. Entering “qstat” alone gives a brief overview of jobs in the queue:
> qstat
job-ID prior name user state submit/start at [...]