Developer Reference

Contents

LAPACKE_xerbla

Error handling function called by the C interface to LAPACK functions.

Syntax

void LAPACKE_xerbla
(
const char *
name
,
lapack_int
info
)
;
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
name
const char*
The name of the routine that called
LAPACKE_xerbla
info
lapack_int
The position of the invalid parameter in the parameter list of the calling function or an error code
Description
The
LAPACKE_xerbla
function is an error handler for
Intel® oneAPI Math Kernel Library
LAPACKE functions (the C interface to LAPACK functionality). If a LAPACKE function encounters an issue on entry or during the function execution, it calls
LAPACKE_xerbla
to print an error message and return an error code.
The
LAPACKE_xerbla
routine does not replace the
xerbla
routine. For instance, if an issue occurs when a LAPACK function is called by a LAPACKE function, the LAPACK function calls
xerbla
.
Error Messages Printed by
LAPACKE_xerbla
Value of
info
Example Error Message
LAPACK_WORK_MEMORY_ERROR
Not enough memory to allocate work array in LAPACKE_dgees
LAPACK_TRANSPOSE_MEMORY_ERROR
Not enough memory to transpose matrix in LAPACKE_dgetrf_work
< 0
Wrong parameter 1 in LAPACKE_dgetrf
LAPACKE_xerbla
is an internal function. You can change or disable printing of an error message by providing your own
LAPACKE_xerbla
function.
Intel® oneAPI Math Kernel Library
does not provide functionality for dynamic replacement of
LAPACKE_xerbla
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.