Commit bf3980d
committed
fix hang in -np 3 --rank-by core
The following command hangs:
% mpirun --rank-by core -np 3 --report-bindings hostname
because of a loop where i is supposed to cycle through an
array of size num_objs, but for some reason it's only
looking at node->num_procs entries.
I changed the counter so it stays in the loop (stays on this
node) until it makes a full cycle through the array of objects
without any assignments then it ends the loop so it can go to
the next node.
Signed-off-by: Mark Allen <markalle@us.ibm.com>1 parent bdd92a7 commit bf3980d
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
381 | 397 | | |
382 | | - | |
| 398 | + | |
| 399 | + | |
383 | 400 | | |
384 | 401 | | |
385 | 402 | | |
| |||
447 | 464 | | |
448 | 465 | | |
449 | 466 | | |
| 467 | + | |
450 | 468 | | |
451 | 469 | | |
452 | 470 | | |
| |||
455 | 473 | | |
456 | 474 | | |
457 | 475 | | |
| 476 | + | |
458 | 477 | | |
459 | 478 | | |
460 | 479 | | |
| |||
0 commit comments