@@ -1578,14 +1578,17 @@ static int ompi_comm_ft_allreduce_intra_nb(int *inbuf, int *outbuf, int count,
1578
1578
static int ompi_comm_ft_allreduce_inter_nb (int * inbuf , int * outbuf , int count ,
1579
1579
struct ompi_op_t * op , ompi_comm_cid_context_t * cid_context ,
1580
1580
ompi_request_t * * req ) {
1581
- return MPI_ERR_UNSUPPORTED_OPERATION ;
1581
+ //TODO: CID_INTER_FT needs an implementation, using the non-ft for now...
1582
+ int rc = ompi_comm_allreduce_inter_nb (inbuf , outbuf , count , op , cid_context , req );
1583
+ return (rc == MPI_ERR_REVOKED || rc == MPI_ERR_PROC_FAILED ) ? MPI_ERR_UNSUPPORTED_OPERATION : rc ;
1582
1584
}
1583
1585
1584
1586
static int ompi_comm_ft_allreduce_intra_pmix_nb (int * inbuf , int * outbuf , int count ,
1585
1587
struct ompi_op_t * op , ompi_comm_cid_context_t * cid_context ,
1586
1588
ompi_request_t * * req ) {
1587
1589
//TODO: CID_INTRA_PMIX_FT needs an implementation, using the non-ft for now...
1588
- return ompi_comm_allreduce_intra_pmix_nb (inbuf , outbuf , count , op , cid_context , req );
1590
+ int rc = ompi_comm_allreduce_intra_pmix_nb (inbuf , outbuf , count , op , cid_context , req );
1591
+ return (rc == MPI_ERR_REVOKED || rc == MPI_ERR_PROC_FAILED ) ? MPI_ERR_UNSUPPORTED_OPERATION : rc ;
1589
1592
}
1590
1593
1591
1594
#endif /* OPAL_ENABLE_FT_MPI */
0 commit comments