/**
 * Measurement wrapper for MPI_Comm_create_errhandler
 * @note Auto-generated by wrapgen from template: std.w
 * @note C interface
 * @note Introduced with MPI 2.0
 * @ingroup cg_err
 */
int MPI_Comm_create_errhandler(MPI_Comm_errhandler_fn* function,
                               MPI_Errhandler*         errhandler)
{
  int return_val;

  if (IS_EVENT_GEN_ON_FOR(CG_ERR))
  {
    EVENT_GEN_OFF();
    esd_enter(epk_mpi_regid[EPK__MPI_COMM_CREATE_ERRHANDLER]);

    return_val = PMPI_Comm_create_errhandler(function, errhandler);

    esd_exit(epk_mpi_regid[EPK__MPI_COMM_CREATE_ERRHANDLER]);
    EVENT_GEN_ON();
  }
  else
  {
    return_val = PMPI_Comm_create_errhandler(function, errhandler);
  }

  return return_val;
}
示例#2
0
int MPI_Comm_create_errhandler(MPI_Comm_errhandler_function *function, MPI_Errhandler *eh)
{
  int rc = PMPI_Comm_create_errhandler(function, eh); 
  Errhandler2Callpath.allocate(*eh, chop); 
  return rc; 
}
示例#3
0
int MPI_Comm_create_errhandler( MPI_Comm_errhandler_fn *function, MPI_Errhandler *errhandler){
  return PMPI_Comm_create_errhandler( function, errhandler);
}