Developer Reference for Intel® oneAPI Math Kernel Library for C
LAPACKE_xerbla
Error handling function called by the C interface to LAPACK functions.
Syntax
voidLAPACKE_xerbla ( const char*name , lapack_intinfo ) ;
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® oneMKL 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.
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 |