MPI_Comm_set_errhandler
int MPI_Comm_set_errhandler(MPI_Comm, MPI_Errhandler);
Attaches a new error handler to a communicator.