We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5fbc50 + 6f17976 commit 7a18858Copy full SHA for 7a18858
ompi/group/group.c
@@ -563,10 +563,13 @@ bool ompi_group_have_remote_peers (ompi_group_t *group)
563
#if OMPI_GROUP_SPARSE
564
proc = ompi_group_peer_lookup (group, i);
565
#else
566
- if (ompi_proc_is_sentinel (group->grp_proc_pointers[i])) {
+ proc = ompi_group_get_proc_ptr_raw (group, i);
567
+ if (ompi_proc_is_sentinel (proc)) {
568
+ /* the proc must be stored in the group or cached in the proc
569
+ * hash table if the process resides in the local node
570
+ * (see ompi_proc_complete_init) */
571
return true;
572
}
- proc = group->grp_proc_pointers[i];
573
#endif
574
if (!OPAL_PROC_ON_LOCAL_NODE(proc->super.proc_flags)) {
575
0 commit comments