Have you defined the TmpDisk value for each node?

As far as I know, local disk space is not a valid type for GRES.

https://slurm.schedmd.com/gres.html

"Generic resource (GRES) scheduling is supported through a flexible plugin 
mechanism. Support is currently provided for Graphics Processing Units (GPUs), 
CUDA Multi-Process Service (MPS), and IntelĀ® Many Integrated Core (MIC) 
processors."

The only valid solution I've found for scratch is to:

In slurm.conf, define the location of local scratch globally via TmpFS.

And then the amount per host is defined via TmpDisk=xxx.

Then the request for srun/sbatch via --tmp=X



---
Erik Ellestad
Wynton Cluster SysAdmin
UCSF
________________________________
From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of navin 
srivastava <navin.alt...@gmail.com>
Sent: Tuesday, April 14, 2020 7:32 AM
To: Slurm User Community List <slurm-users@lists.schedmd.com>
Subject: Re: [slurm-users] How to request for the allocation of scratch .


Any suggestion on the above query.need help to understand it.
Does TmpFS=/scratch   and the request is #SBATCH --tmp=500GB  then it will 
reserve the 500GB from scratch.
let me know if my assumption is correct?

Regards
Navin.


On Mon, Apr 13, 2020 at 11:10 AM navin srivastava 
<navin.alt...@gmail.com<mailto:navin.alt...@gmail.com>> wrote:
Hi Team,

i wanted to define a mechanism to request the local disk space while submitting 
the job.

we have dedicated /scratch of 1.2 TB file system for the execution of the job 
on each of the compute nodes other than / and other file system.
i have defined in slurm.conf as TmpFS=/scratch  and then wanted to use  #SBATCH 
--scratch =10GB   in the request.
but it seems it is not accepting this variable except /tmp.

Then i have opted the mechanism of gres.conf

GresTypes=gpu,scratch

and defined each node the scratch value and then requested using 
--gres=lscratch:10GB
but in this scenario if requesting both gres resources gpu as well as scratch 
it show me only scratch in my Gres resource not gpu.
does it using the gpu also as a gres resource?

could anybody please advice which is the correct method to achieve the same?
Also, is scratch will be able to calculate the actual usage value on the node.

REgards
Navin.
























Reply via email to