Cluster Usage: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
  qrsh  
  qrsh  
Or for a shell on a specific set of nodes (say any from the node-5-* or node-6-* sets):
Or for a shell on a specific set of nodes (say any from the node-5-* or node-6-* sets):
  qrsh -l hostname="node-[56]*"
  qrsh -q all.q -l hostname="node-[56]*"


If you're interested in writing your own cluster scripts, the nice way of doing this is to use the following lines:
If you're interested in writing your own cluster scripts, the nice way of doing this is to use the following lines:

Revision as of 17:43, 22 September 2010

Information on how to use the Shoichet Lab Cluster. Note this information is only relevant if you have ssh access to the cluster.

To request a shell on a cluster node, type

qrsh 

Or for a shell on a specific set of nodes (say any from the node-5-* or node-6-* sets):

qrsh -q all.q -l hostname="node-[56]*"

If you're interested in writing your own cluster scripts, the nice way of doing this is to use the following lines:

#$ -q all.q

The first line uses the correct queue, all.q for basically any job.

#$ -t 1-500

This line (modify the 500 to mean the max) should be used in concert with $SGE_TASK_ID to write array job scripts, instead of scripts that only run single jobs.

Back to Portal:Lab