Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
compute_slurm [2019/02/13 15:36]
ktm5j
compute_slurm [2019/04/03 21:24] (current)
ktm5j [Partitions]
Line 114: Line 114:
 </​code>​ </​code>​
  
 +==== Partitions ====
 +
 +Slurm refers to job queues as //​partitions//​. ​ These queues can have unique constraints such as compute nodes, max runtime, resource limits, etc.  There is a ''​%%main%%''​ queue, which will make use of all non-GPU compute nodes.
 +
 +Partition is indicated by ''​%%-p partname%%''​ or ''​%%--partition partname%%''​.
 +
 +To specify a partition with ''​%%sbatch%%''​ file:
 +
 +<​code>​
 +#SBATCH --partition=gpu
 +</​code>​
 +
 +Or from the command line with ''​%%srun%%''​
 +
 +<​code>​
 +-p gpu
 +</​code>​
 +
 +An example running the command ''​%%hostname%%''​ on the //intel// partition, this will run on any node in the partition:
 +
 +<​code>​
 +srun -p intel hostname
 +</​code>​
  
 ==== GPUs ==== ==== GPUs ====
  • compute_slurm.1550072181.txt.gz
  • Last modified: 2019/02/13 15:36
  • by ktm5j