Hi,
I have a Jupyter app based on the example batch_connect approach which works fine, but when I try and make use of GPU by adding in gres, it is failing at submit with an invalid gres error:
“sbatch: error: Invalid generic resource (gres) specification”
The job_script_options shows the following, which from a slurm point of view looks like what I’d expect:
“native”: [
“-n”,
“1”,
“-J”,
“OODJupyter”,
“-p”,
“gpu”,
“–gres=gpu:1”,
“–exclusive”
]
I’ve tried various combinations around how to specify the gres option, but to no avail.
A quick google for ondemand and the error reveals one page ondemand gpu request error Nov 2021 | Ohio Supercomputer Center but no hint at what that problem was (probably unrelated!).
Any assistance would be greatly appreciated!