On 09/11/16 13:07, Ran Du wrote:
> However, the scheduler must have information about separate
> allocated number on each node, or they cannot track how many resources
> left on each node. The question is, if SLURM keep these separate numbers
> in files(e.g. log files or database), or just keep them in memory. I am
> going to read other docs&man info, to see if there is any lead.
I strongly suspect it's only held in memory by slurmctld whilst running
(and in its state files of course).
Unfortunately it doesn't even appear in "scontrol show job --detail"
from what I can see. :-(
Here's the lines from a test job of mine:
TRES=cpu=2,mem=8G,node=2
Socks/Node=* NtasksPerN:B:S:C=0:0:*:1 CoreSpec=*
Nodes=barcoo[069-070] CPU_IDs=0 Mem=4096
MinCPUsNode=1 MinMemoryNode=4G MinTmpDiskNode=0
Features=(null) Gres=mic:1 Reservation=(null)
All the best,
Chris
--
Christopher Samuel Senior Systems Administrator
VLSCI - Victorian Life Sciences Computation Initiative
Email: [email protected] Phone: +61 (0)3 903 55545
http://www.vlsci.org.au/ http://twitter.com/vlsci