OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lapacke_xerbla.c File Reference
#include <stdio.h>
#include "lapacke_utils.h"

Go to the source code of this file.

Functions

void LAPACKE_xerbla (const char *name, lapack_int info)

Function Documentation

◆ LAPACKE_xerbla()

void LAPACKE_xerbla ( const char * name,
lapack_int info )

Definition at line 36 of file lapacke_xerbla.c.

37{
38 if( info == LAPACK_WORK_MEMORY_ERROR ) {
39 printf( "Not enough memory to allocate work array in %s\n", name );
40 } else if( info == LAPACK_TRANSPOSE_MEMORY_ERROR ) {
41 printf( "Not enough memory to transpose matrix in %s\n", name );
42 } else if( info < 0 ) {
43 printf( "Wrong parameter %d in %s\n", -(int) info, name );
44 }
45}
#define LAPACK_WORK_MEMORY_ERROR
Definition lapacke.h:55
#define LAPACK_TRANSPOSE_MEMORY_ERROR
Definition lapacke.h:56