Skip to content

Non-constraint options in partition's access config are ignored if --constraint is present and job.options also contains a constraint #3349

@vkarak

Description

@vkarak

Assuming that the access for a system partition is the following:

access = ['--constraint=c1', '-A grp', '-p part']

And the test sets:

self.job.options = ['-C c2&c3'] 

The the script contains only the combined --constraint option and not the -A and -p from the access:

#SBATCH --constraint=(c1)&(c2&c3)

instead of

#SBATCH --constraint=(c1)&(c2&c3) #SBATCH -A grp #SBATCH -p part

This is related to #3348.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions