You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create a reservation for user brenda with two cores on
# node tux8 and 4 cores on node tux9
$ scontrol create reservation StartTime=now Duration=60 \
Nodes=tux8,tux9 CoreCnt=2,4 User=brenda
But in pyslurm the Reservation class seems to only have an integer for cpus given the total number of cores the reservation will reserve. How do I create a Reservation instance in pyslurm for the above example?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In https://slurm.schedmd.com/reservations.html there is an example of a reservation with different core counts per node:
But in pyslurm the
Reservationclass seems to only have an integer forcpusgiven the total number of cores the reservation will reserve. How do I create a Reservation instance in pyslurm for the above example?Beta Was this translation helpful? Give feedback.
All reactions