Re: [slurm-users] Getting --gpus -request in job_submit.lua

2020-11-25 Thread Niels Carl Hansen
es_per_node   => is nil")     end --    For --gpus=N requests     if job_desc.tres_per_job ~= nil then   slurm.user_msg("Tres_per_job    => " .. job_desc.tres_per_job)     else   slurm.user_msg("Tres_per_job    => is nil")     end Best

[slurm-users] Getting --gpus -request in job_submit.lua

2020-09-30 Thread Niels Carl Hansen
--gpus -flag, as in "sbatch --gpus=2", then 'job_desc.tres_per_node' is nil. How can I dig out the number of requested GPUs in job_submit.lua in the latter case? I am running Slurm 20.02.5. Thanks in advance. Niels Carl Hansen Aarhus University, Denmark

[slurm-users] slurm_pam_adopt issue

2020-03-17 Thread Niels Carl Hansen
ages disappears. I think pam_slurm_adopt should check for slurm.conf in both /etc/slurm and /var/spool/slurmd/conf-cache before it throws this error. Any thoughts? Best Niels Carl Hansen Aarhus University, Denmark