[slurm-users] Warning: can't honor --ntasks-per-node
Ginés Guerrero
gguerrero at nlhpc.cl
Tue Nov 16 16:19:57 UTC 2021
Hi,
If I submit this script:
#!/bin/bash
#SBATCH --get-user-env
#SBATCH -p slims
#SBATCH -N 2
#SBATCH -n 40
#SBATCH --ntasks-per-node=20
#SBATCH -o log
#SBATCH -e log
/bin/env
srun hostname
I get the warning: “can't honor --ntasks-per-node set to 20 which
doesn't match the requested tasks 40 with the number of requested
nodes 1. Ignoring –ntasks-per-node”.
This is strange, since I am explicitly requiring 2 nodes, which is
seen in the environment variables:
cat log | grep -i nodes
SLURM_NNODES=2
SLURM_JOB_NUM_NODES=2
We are using Slurm version 21.08.3.
Any help will be greatly appreciated.
Best,
Ginés
More information about the slurm-users
mailing list