/** * Measurement wrapper for MPI_Cart_sub * @note Auto-generated by wrapgen from template: comm_mgnt.w * @note C interface * @note Introduced with MPI 1.0 * @ingroup topo */ int MPI_Cart_sub(MPI_Comm comm, int* remain_dims, MPI_Comm* newcomm) { const int event_gen_active = IS_EVENT_GEN_ON_FOR(TOPO); int return_val; if (event_gen_active) { EVENT_GEN_OFF(); esd_enter(epk_mpi_regid[EPK__MPI_CART_SUB]); } return_val = PMPI_Cart_sub(comm, remain_dims, newcomm); if (*newcomm != MPI_COMM_NULL) { epk_comm_create(*newcomm); } if (event_gen_active) { esd_exit(epk_mpi_regid[EPK__MPI_CART_SUB]); EVENT_GEN_ON(); } return return_val; }
int MPI_Cart_sub(MPI_Comm comm, int* remain_dims, MPI_Comm* comm_new) { return PMPI_Cart_sub(comm, remain_dims, comm_new); }