Cluster Usage: Difference between revisions
Jump to navigation
Jump to search
(adding some information. almost nothing here.) |
No edit summary |
||
Line 2: | Line 2: | ||
Note this information is only relevant if you have ssh access to the 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 | 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 -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]] | Back to [[Portal:Lab]] |
Revision as of 21:40, 15 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 -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