Topics Map > •Research Computing

CRC SLURM Tasks clarifications

CRC SLURM Tasks clarifications

Introduction

This document attempts to provide clarity on different task options such as  --ntasks versus  --ntasks-per-node  and --nodes .

Documentation

The use of --ntasks will place tasks on available nodes for throughput purposes.

If you request --ntasks=16 and there are 3 nodes with 8 CPUs and a total of 16 available free CPUs then your job will be allocated to those free CPUs.

Additionally, if there are any minimum node requirements then --ntasks will understand and accommodate such a requirement. Meaning it will allocate the minimum number of nodes necessary to satisfy the scheduler.

The use of --ntasks-per-node will place the same number of tasks on each node requested.

Additionally, if there are any minimum node requirements then --ntasks-per-node will understand and accommodate such a requirement. Meaning it will allocate the minimum number of nodes necessary to satisfy the scheduler.

The use of --nodes by itself has a default of --ntasks-per-node=1



KeywordsCRC SLURM Tasks clarifications   Doc ID108483
OwnerJoseph G.GroupRice U
Created2021-01-21 10:30:44Updated2024-04-22 15:13:18
SitesRice University
Feedback  3   3