PetscCallBLAS#

Calls a BLAS or LAPACK routine and catches exceptions

Synopsis#

#include <petscsys.h>
void PetscCallBLAS(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

Developer Note#

This is so that when a BLAS/LAPACK routine results in a crash or corrupts memory, they get blamed instead of PETSc.

See Also#

PetscCall(), PetscStackPushNoCheck(), PetscStackPush(), PetscCallExternal(), PetscStackCallExternalVoid()

Level#

developer

Location#

include/petscblaslapack.h

Examples#

src/ksp/ksp/tutorials/ex59.c
src/ts/tutorials/ex50.c


Edit on GitLab

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