Commit fc97c06
committed
libtaskmap: allow unequal tasks per rank in taskmap_check()
Problem: taskmap_check() treats taskmaps as incompatible if nodes have
differing task counts. However, this strict requirement is unnecessary
and blocks valid use cases where tasks may need to be redistributed
across nodes.
Remove the check that tasks per node are equal in the old and new
taskmaps in taskmap_check().
Update an expected failure in the unit tests to an expected success.1 parent 1c825b8 commit fc97c06
3 files changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
976 | | - | |
977 | | - | |
978 | | - | |
979 | | - | |
980 | | - | |
981 | | - | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | 976 | | |
987 | 977 | | |
988 | 978 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
525 | 526 | | |
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
529 | | - | |
530 | | - | |
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
| |||
0 commit comments