You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failing submission to GPU partition in CI run #242
However when I go to the Stage directory and run the command that failed the job gets submitted and runs. Their must be something that I'm missing that is set by ReFrame but not in the jobscript of launch command. That causes the job not to get submitted. I've already investigated it a little bit and I can't find what the difference might be.
I tried to find what the environment is right before th jobs gets submitted by reframe by adding this to the following file: reframe/reframe/core/schedulers/slurm.py.
sbatch: error: Invalid generic resource (gres) specification
occurs when the following environment varible is not set: export SLURM_CONF=/etc/slurm/slurm.conf_dodrio
Activity
boegel commentedon Feb 19, 2025
@laraPPr Can you easily obtain the contents of the job script, and the exact
sbatchcommand that is being used?laraPPr commentedon Feb 19, 2025
I did some further digging and the problem can't be with the job script itself, the test-suite or reframe
if reframe outside of the CI the error does not occur. And the test-suite runs fine.
So it is gonna be something that is picked up in the CI environment that causes the error. but I haven't tracked it down yet.
laraPPr commentedon Feb 19, 2025
Yes you can find the job script in the stage directory and the run command you can find in the logs but the problem is not with either of those.
laraPPr commentedon Mar 4, 2025
Fixed with:
laraPPr commentedon Mar 4, 2025
I tried to find what the environment is right before th jobs gets submitted by reframe by adding this to the following file: reframe/reframe/core/schedulers/slurm.py.
but than it was complaining that their is no such file or directory named '>'.
Maybe i should look at what ReFrame purges from the environment when
'purge_environment': True,is set.laraPPr commentedon Mar 4, 2025
I'm able to reproduce it without reframe by doing this
As with reframe it only causes trouble when trying to submit to the GPU and not the CPU partition
laraPPr commentedon Mar 4, 2025
sbatch: error: Invalid generic resource (gres) specificationoccurs when the following environment varible is not set:
export SLURM_CONF=/etc/slurm/slurm.conf_dodriolaraPPr commentedon May 21, 2025
This issue is resolved with #250