Code:SGE

User environment
Zeroth, set up your own system (for linux), by adding a host def for circe to your $HOME/.ssh/config file. Then you don't have to keep typing in circe's full path and your username when running ssh from linux.

Host circe User Hostname circe.rc.usf.edu ServerAliveInterval 30 ServerAliveCountMax 120 ForwardX11 yes

You may need:

chmod 600 $HOME/.ssh/config

On circe, first, setup your user environment by creating/editing a $HOME/.bashrc

Then create $HOME/.bash_profile, which is run for interactive, login sessions on circe.

Queue
Here's a basic template for queuing a job using MPI (here 4 cpus and 6h max run-time).

Submit with

For execution and status, use qstat, or the mystat command, defined as an alias in .bashrc.

For more info, see the CIRCE SGE guide.

Here's a run-down on the environment variables available during running (for scripting):