Developer Reference

Contents

xerbla

Error handling function called by BLAS, LAPACK, Vector Math, and Vector Statistics functions.

Syntax

void xerbla
(
const char *
srname
,
const int*
info
,
const int
len
)
;
Include Files
  • mkl.h
Input Parameters
Name
Type
Description
srname
const char*
The name of the routine that called
xerbla
info
const int*
The position of the invalid parameter in the parameter list of the calling function or an error code
len
const int
Length of the source string
Description
The
xerbla
function is an error handler for
Intel® MKL
BLAS, LAPACK, Vector Math, and Vector Statistics functions. These functions call
xerbla
if an issue is encountered on entry or during the function execution.
xerbla
operates as follows:
  1. Prints a message that depends on the value of the
    info
    parameter as explained in the following table.
    A specific message can differ from the listed messages in numeric values and/or function names.
  2. Returns to the calling application.
Error Messages Printed by
xerbla
Value of
info
Error Message
1001
Intel MKL ERROR: Incompatible optional parameters on entry to DGEMM.
1000 or 1089
Intel MKL INTERNAL ERROR: Insufficient workspace available in function CGELSD.
< 0
Intel MKL INTERNAL ERROR: Condition 1 detected in function DLASD8.
Other
The position of the invalid parameter in the parameter list of the calling function.
Note that
xerbla
is an internal function. You can change or disable printing of an error message by providing your own
xerbla
function. The following examples illustrate usage of
xerbla
.

Example

void xerbla(char* srname, int* info, int len){ // srname - name of the function that called xerbla // info - position of the invalid parameter in the parameter list // len - length of the name in bytes printf("\nXERBLA is called :%s: %d\n",srname,*info); }

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804