Re: [slurm-users] SLURM_NTASKS values in interactive and batch jobs

2019-07-04 Thread Lech Nieroda
> Am 03.07.2019 um 19:31 schrieb Chris Samuel : > > On 3/7/19 8:17 am, Lech Nieroda wrote: > >> Is that the expected behaviour or a bug? > > I'm not seeing that here with 18.08.7 and salloc, I'm only seeing: > > SLURM_NTASKS=5 > > that's both with our default salloc command that pushes user

Re: [slurm-users] SLURM_NTASKS values in interactive and batch jobs

2019-07-03 Thread Chris Samuel
On 3/7/19 8:17 am, Lech Nieroda wrote: Is that the expected behaviour or a bug? I'm not seeing that here with 18.08.7 and salloc, I'm only seeing: SLURM_NTASKS=5 that's both with our default salloc command that pushes users out to the compute node they've been allocated or specifying /bin/b

[slurm-users] SLURM_NTASKS values in interactive and batch jobs

2019-07-03 Thread Lech Nieroda
Hi all, there seems to be a discrepancy in the SLURM_NTASKS values depending on the job type. For example, let’s say the job requests 5 tasks (-n 5), is submitted with sbatch, then its job step uses only 1 task (e.g. srun -n 1). In that case you’ll see following values (with every launcher):