Re: [slurm-users] --partition requests ignored in scripts

2023-11-09 Thread Bunis, Dan
N' =) -Dan From: slurm-users on behalf of Bjørn-Helge Mevik Sent: Thursday, November 9, 2023 2:38 AM To: slurm-us...@schedmd.com Subject: Re: [slurm-users] --partition requests ignored in scripts "Bunis, Dan" writes: > My colleagues and I have noticed that our compu

Re: [slurm-users] --partition requests ignored in scripts

2023-11-09 Thread Michael Gutteridge
The position of the #SBATCH directives also matters (emphasis mine): > The batch script may contain options preceded with "#SBATCH" *before any executable commands* in the script. We've been bit by that a couple times- a stray command before any #SBATCH lines will cause any of those directives to

Re: [slurm-users] --partition requests ignored in scripts

2023-11-08 Thread Bjørn-Helge Mevik
"Bunis, Dan" writes: > My colleagues and I have noticed that our compute cluster seems to > ignore '--partition' requests when we give them as '#SBATCH > --partition=' inside of our scripts, but it respects > them when given in-line within our sbatch calls as 'sbatch > --partition= script.sh'. B

[slurm-users] --partition requests ignored in scripts

2023-11-08 Thread Bunis, Dan
Hi there, My colleagues and I have noticed that our compute cluster seems to ignore '--partition' requests when we give them as '#SBATCH --partition=' inside of our scripts, but it respects them when given in-line within our sbatch calls as 'sbatch --partition= script.sh'. Based on some googl