PetscCallBLAS#

Calls a BLAS or LAPACK routine with error check handling Not collective

Synopsis#

#include <petscsys.h>
void PetscCallBLAS(char *name,routine)

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 user or external library 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.html
src/ts/tutorials/ex50.c.html


Edit on GitLab

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