Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of 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_xerblafunction 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 callsLAPACKE_xerbla to print an error message and return an error code.

NOTE:

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

NOTE:

LAPACKE_xerbla is an internal function. You can change or disable printing of an error message by providing your own LAPACKE_xerblafunction. Intel® oneAPI Math Kernel Library does not provide functionality for dynamic replacement ofLAPACKE_xerbla.

See Also