Commit 5c71c3a8 authored by Wesley Bland's avatar Wesley Bland Committed by Junchao Zhang
Browse files

Remove coll_active field in MPIDI_Comm

The collectively active field wasn't doing anything anymore so it's been
removed. This was a remnant from a previous FT proposal.
Signed-off-by: default avatarJunchao Zhang <>
parent 39b95805
......@@ -171,7 +171,6 @@ typedef union {
typedef struct MPIDI_CH3I_comm
int eager_max_msg_sz; /* comm-wide eager/rendezvous message threshold */
int coll_active; /* TRUE iff this communicator is collectively active */
int anysource_enabled; /* TRUE iff this anysource recvs can be posted on this communicator */
int last_ack_rank; /* The rank of the last acknowledged failure */
struct MPID_nem_barrier_vars *barrier_vars; /* shared memory variables used in barrier */
......@@ -203,7 +203,6 @@ int comm_created(MPID_Comm *comm, void *param)
comm->ch.coll_active = TRUE;
comm->ch.anysource_enabled = TRUE;
/* Use the VC's eager threshold by default. */
......@@ -308,7 +307,7 @@ int MPIDI_CH3I_Comm_handle_failed_procs(MPID_Group *new_failed_procs)
/* if this comm is already collectively inactive and
anysources are disabled, there's no need to check */
if (!comm->ch.coll_active && !comm->ch.anysource_enabled)
if (!comm->ch.anysource_enabled)
mpi_errno = nonempty_intersection(comm, new_failed_procs, &flag);
......@@ -316,9 +315,8 @@ int MPIDI_CH3I_Comm_handle_failed_procs(MPID_Group *new_failed_procs)
if (flag) {
(MPIU_DBG_FDEST, "disabling AS and coll on communicator %p (%#08x)",
(MPIU_DBG_FDEST, "disabling AS on communicator %p (%#08x)",
comm, comm->handle));
comm->ch.coll_active = FALSE;
comm->ch.anysource_enabled = FALSE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment