Skip to content

Commit

Permalink
CH4/OFI: Fix the runtime check for FI_EP_RDM
Browse files Browse the repository at this point in the history
Somehow this check hasn't caused problems up to now. We should be
checking that the provider supports FI_EP_RDM, not the opposite.

Signed-off-by: Ken Raffenetti <raffenet@mcs.anl.gov>
  • Loading branch information
wesbland authored and raffenet committed Jan 18, 2017
1 parent f35b5f2 commit 51f53f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpid/ch4/netmod/ofi/ofi_init.h
Expand Up @@ -354,7 +354,7 @@ static inline int MPIDI_NM_mpi_init_hook(int rank,
continue;

/* Check that the provider has all of the requirements of MPICH */
} else if (prov_use->ep_attr->type == FI_EP_RDM) {
} else if (prov_use->ep_attr->type != FI_EP_RDM) {
MPL_DBG_MSG_FMT(MPIDI_CH4_DBG_GENERAL,VERBOSE,(MPL_DBG_FDEST, "Provider doesn't support RDM"));
fprintf(stderr, "Doesn't support RDM\n");
prov = prov_use->next;
Expand Down

0 comments on commit 51f53f5

Please sign in to comment.