Skip to content

Commit 3571f8c

Browse files
Always populate failed procs in comms' groups
Signed-off-by: Matthew Whitlock <mwhitlo@sandia.gov>
1 parent ba35ec8 commit 3571f8c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ompi/communicator/ft/comm_ft.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -792,13 +792,12 @@ bool ompi_comm_is_proc_active(ompi_communicator_t *comm, int peer_id, bool remot
792792

793793
int ompi_comm_set_rank_failed(ompi_communicator_t *comm, int peer_id, bool remote)
794794
{
795-
#if OPAL_ENABLE_DEBUG
796795
/* populate the proc in the comm's group array so that it is not a
797796
sentinel and can be read as failed */
798-
ompi_proc_t *ompi_proc = ompi_group_get_proc_ptr((remote ? comm->c_remote_group : comm->c_local_group),
799-
peer_id, true);
797+
ompi_proc_t *ompi_proc __opal_attribute_unused__;
798+
ompi_proc = ompi_group_get_proc_ptr((remote ? comm->c_remote_group : comm->c_local_group),
799+
peer_id, true);
800800
assert(NULL != ompi_proc);
801-
#endif
802801

803802
/* Disable ANY_SOURCE */
804803
comm->any_source_enabled = false;

0 commit comments

Comments
 (0)