Martyn? Why are you saying SLURM_TASKS_PER_NODE might not be present?
It sounds to me like something is wrong in your Slurm environment - I really
believe that this envar is always supposed to be there.
> On Mar 15, 2021, at 4:20 AM, Peter Kjellström wrote:
>
> On Fri, 12 Mar 2021 22:19:09
On Fri, 12 Mar 2021 22:19:09 +
Ralph Castain via devel wrote:
> Why would it not be set? AFAICT, Slurm is supposed to always set that
> envar, or so we've been told.
Maybe confusion on the exact name?
AFAIK slurm always sets SLURM_TASKS_PER_NODE but only sets
SLURM_NTASKS_PER_NODE (almost