Hi,<br>I have setted a handler error function:<br>ierr = MPI_Errhandler_create(errorHandler,&errhandler); CHKERRQ(ierr);<br>ierr = MPI_Errhandler_set(PETSC_COMM_WORLD,errhandler); CHKERRQ(ierr);<br><br>I have simulated a fault of processor 1:<br>
<br>if (rank == 1)) exit(2); <br>MPI_Barrier(PETSC_COMM_WORLD); <br><br>The process remains blocked and the functions errorHandler is not called.<br>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.<br>
<br>Help me please.<br>