PetscCallLAPACKInfo#

Calls a LAPACK routine that has an info return flag so that the stack trace returned from any signal received inside the function call includes the name of the LAPACK routine. Also checks the info flag.

Synopsis#

#include <petscblaslapack.h>
void PetscCallLAPACKInfo(char *name, routine)

Not Collective

Input Parameters#

  • name - string that gives the name of the function being called

  • routine - actual call to the routine including its arguments

Notes#

The calling routine should not declare the argument info but must call it info in the calling sequence.

In a small number of cases, calls to LAPACK routines that return a positive info code are allowed without ending the PETSc program. In these situations the macro PetscCallBLAS() should be used, not PetscCallLAPACKInfo().

See Also#

PetscCall(), PetscCallBLAS(), PetscStackPushNoCheck(), PetscStackPush(), PetscCallExternal(), PetscCallExternalVoid()

Level#

developer

Location#

include/petscblaslapack.h


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages