Skip to content
Snippets Groups Projects
Commit 5ff60e5a authored by Moe Jette's avatar Moe Jette
Browse files

modify task binding test based upon automatic binding logic

available in slurm v2.0
parent a8c6bd1e
No related branches found
No related tags found
No related merge requests found
...@@ -388,8 +388,9 @@ while {$this_cnt <= $task_cnt} { ...@@ -388,8 +388,9 @@ while {$this_cnt <= $task_cnt} {
############################################################################# #############################################################################
# #
# Run a job step with plane distribution to exercise option # Run a job step with plane distribution to exercise option
# Automatic binding in slurm version 2.0 will bind one task per core
# #
set expected_mask [ expr ((1 << $task_cnt) - 1) * $task_cnt ] set expected_mask [ expr ((1 << $task_cnt) - 1) ]
set task_mask 0 set task_mask 0
send "$srun -n $task_cnt -m plane=4 $file_prog\n" send "$srun -n $task_cnt -m plane=4 $file_prog\n"
expect { expect {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment