Hi Fabio,
are you sure that command substition works in the #SBATCH part of the
jobscript? I don't think that slurm actally evaluates that, though I
might be wrong.
It seems like the #SBATCH after the --job-name line are not evaluated
anymore, therefore you can't start srun with two tasks (since
Hi Everyone,
I'm experiencing a weird issue, when submitting a job like that:
-
#!/bin/bash
#SBATCH --job-name=`basename $PWD`
#SBATCH --ntasks=2
srun -n 2 hostname
-
Output:
srun: error: Unable to create step for job 15387: More processors requested