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 <c...@nsc.liu.se> wrote:
> 
> On Fri, 12 Mar 2021 22:19:09 +0000
> Ralph Castain via devel <devel@lists.open-mpi.org> 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 same name) when --ntasks-per-node is
> given.
> 
> /Peter K


Reply via email to