Commit 1a1b84a
committed
opal/ofi: fallback to process id as package rank when unbound
The previous change caused inconsistent package rank when the process is
unbound - two processes could return the same package rank.
If the process is unbound, OPAL_MODEX_RECV_VALUE_OPTIONAL
throws an error, in which case and we should fallback to the process id
instead of attempting to return a local package rank.
Signed-off-by: Wenduo Wang <wenduwan@amazon.com>1 parent 926fdfb commit 1a1b84a
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
755 | | - | |
756 | | - | |
757 | | - | |
758 | | - | |
759 | 755 | | |
760 | 756 | | |
761 | 757 | | |
| |||
769 | 765 | | |
770 | 766 | | |
771 | 767 | | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
772 | 772 | | |
773 | 773 | | |
774 | 774 | | |
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
| 802 | + | |
802 | 803 | | |
803 | 804 | | |
804 | 805 | | |
| |||
859 | 860 | | |
860 | 861 | | |
861 | 862 | | |
862 | | - | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
865 | 866 | | |
866 | 867 | | |
867 | 868 | | |
| |||
0 commit comments