-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Description
As far as I understand, with the PBS Pro scheduler only the last -l select=....:.... option survives. This is problematic with ReFrame, because it makes it harder than necessary to have GPU jobs. I initially had this in my reframe configuration
'resources': [
{
'name': 'gpu',
'options': ['-l ngpus=1'],
},
],This would create a new -l ngpus=1 option, but
- this is wrong, because it should be
-l select={num_nodes}:ngpus=1, - even if I used
-l select={num_nodes}:ngpus=1, this would override the default-l select={num_nodes}:ncpus={num_cpus}line, in particular it'd override the previousncpus={num_nodes}setting. In the best case, there would be lots of needless duplication.
There should really be a single -l select line, with all extra resources appended to the existing -l select line, instead of creating a new line.
Also, note that ngpus is a custom resource name I need to use on Isambard 2, I don't think this is a standard name, it isn't documented in the man page of qsub, other system may have other custom names for other resources, so any solution to this problem shouldn't be specific to ngpus resources.
Metadata
Metadata
Assignees
Type
Projects
Status
Done