source /nfs/sge/current/default/common/settings.csh (if you are using csh/tcsh)\or
. /nfs/sge/current/default/common/settings.sh (bash)
qsub - submit background job. Example:
qsub -N "jobname" /tools/hw/wrap make test
qbsub - submit a binary background job. This is a wrapper
script to qsub that does away with the necessity to use scripts.
Example:
qrsh - submit foreground job. Example:
qrsh make test
qstat - check status of jobs. Examples:
qstat | # Checks status of all jobs |
qstat -u user | # Checks status of user's jobs |
qstat -r | # Show resources being used |
qstat -j jobnum | # Details of 1 job |
qdel - Delete a job. Example:
qmon - Interactive interface to entire SGE system. Example:
qsub -q shelby.q,io.q,rhea.q script.plWill dispatch the job only to shelby, io or rhea (in that particular order)
qsub -l mem_total=800M script.plor if you need to run a job on MacOS X only do
qsub -l arch=darwinYou could also use glinux for x86 version of Linux and lx24-amd64 for AMD64 architecture ie. AMD Opteron or Athlon64.