PCGetFailedReasonRank#
Gets the reason a PCSetUp() failed or PC_NOERROR if it did not fail on this MPI rank
Synopsis#
#include "petscksp.h"
PetscErrorCode PCGetFailedReasonRank(PC pc, PCFailedReason *reason)
Not Collective
Input Parameter#
pc - the preconditioner context
Output Parameter#
reason - the reason it failed
Note#
Different processes may have different reasons or no reason, see PCGetFailedReason()
See Also#
KSP: Linear System Solvers, PC, PCCreate(), PCApply(), PCDestroy(), PCGetFailedReason(), PCSetFailedReason(), PCReduceFailedReason()
Level#
advanced
Location#
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages