Error Handlers Function

Santolo Felaco ahuramazda10 at gmail.com
Thu Feb 26 10:00:13 CST 2009


Hi,
I have setted a handler error function:
ierr = MPI_Errhandler_create(errorHandler,&errhandler); CHKERRQ(ierr);
ierr = MPI_Errhandler_set(PETSC_COMM_WORLD,errhandler); CHKERRQ(ierr);

I have simulated a fault of processor 1:

if (rank == 1)) exit(2);
MPI_Barrier(PETSC_COMM_WORLD);

The process remains blocked and the functions errorHandler is not called.
If I use return; instead of exit(2); the process don't remains blocked, I
read the error of Petsc but errorHandler is not called.

Help me please.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090226/8a4f6956/attachment.htm>


More information about the petsc-users mailing list