Skip to content

Commit

Permalink
Fix --constraint treatment
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarak committed Dec 17, 2024
1 parent 54cdfcd commit 40c38c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reframe/core/schedulers/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def emit_preamble(self, job):
job._cli_options = other_cli_opts

arg = '&'.join(f'({c.strip()})' for c in constraints)
job._sched_access = [f'--constraint={arg}']
job._sched_access = [f'--constraint={arg}'] + access_other

if not self._sched_access_in_submit:
for opt in job.sched_access:
Expand Down

0 comments on commit 40c38c4

Please sign in to comment.