Skip to content

Commit d2b0cb4

Browse files
author
Samuel Moors
committed
fix comment
1 parent 48a9ed3 commit d2b0cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eessi/testsuite/hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def assign_tasks_per_compute_unit(test: rfm.RegressionTest):
162162
test.used_cpus_per_task = test.num_cpus_per_task
163163

164164
if test.current_partition.launcher_type().registered_name == 'srun':
165-
# Add (again) --cpus-per-task to srun, which wins because it is set last:
165+
# Add --cpus-per-task to srun launcher
166166
test.job.launcher.options += ['--cpus-per-task', str(test.used_cpus_per_task)]
167167
# Make sure srun inherits --cpus-per-task from the job environment for Slurm versions >= 22.05 < 23.11,
168168
# ensuring the same task binding across all Slurm versions.

0 commit comments

Comments
 (0)