Skip to content

Commit d1a1192

Browse files
committed
ulfm/comm_mark_failed: remove debug that causes all procs to be
populated, this is too agressive and can mask bugs in debug mode Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
1 parent 6abab2a commit d1a1192

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ompi/communicator/ft/comm_ft.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -334,17 +334,6 @@ bool ompi_comm_is_proc_active(ompi_communicator_t *comm, int peer_id, bool remot
334334
/* If the proc is not known yet (get_proc_ptr returns NULL for a valid
335335
* peer_id), then we assume that the proc is alive. When it is dead, the
336336
* proc will exist. */
337-
#if OPAL_ENABLE_DEBUG
338-
if(NULL == ompi_proc) {
339-
/* this debug has side effects on behavior/performance: it loads up the
340-
* proc for every query and may end-up being equivalent to the 'preconnect
341-
* all' option in the worse case. */
342-
ompi_proc = ompi_group_get_proc_ptr((remote ? comm->c_remote_group : comm->c_local_group),
343-
peer_id, true);
344-
assert(NULL != ompi_proc);
345-
assert(ompi_proc_is_active(ompi_proc));
346-
}
347-
#endif
348337
return (NULL == ompi_proc) ? true : ompi_proc_is_active(ompi_proc);
349338
}
350339

0 commit comments

Comments
 (0)