LAPACK 3.12.1
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ F77_xerbla()

void F77_xerbla ( char * srname,
void * vinfo )

Definition at line 95 of file c_xerbla.c.

101{
102#ifdef F77_Char
103 char *srname;
104#endif
105
106 char rout[] = {'c','b','l','a','s','_','\0','\0','\0','\0','\0','\0','\0', '\0'};
107
108#ifdef F77_Integer
109 F77_Integer *info=vinfo;
110 F77_Integer i;
111 extern F77_Integer link_xerbla;
112#else
113 CBLAS_INT *info=vinfo;
114 CBLAS_INT i;
115 extern CBLAS_INT link_xerbla;
116#endif
117#ifdef F77_Char
118 srname = F2C_STR(F77_srname, XerblaStrLen);
119#endif
120
121 /* See the comment in cblas_xerbla() above */
122 if (link_xerbla)
123 {
124 link_xerbla = 0;
125 return;
126 }
127 for(i=0; i < 7; i++) rout[i+6] = tolower(srname[i]);
128 for(i=12; i >= 9; i--) if (rout[i] == ' ') rout[i] = '\0';
129
130 /* We increment *info by 1 since the CBLAS interface adds one more
131 * argument to all level 2 and 3 routines.
132 */
133 cblas_xerbla(*info+1,rout,"");
134}
CBLAS_INT link_xerbla
Definition c_c2chke.c:7
void cblas_xerbla(CBLAS_INT info, const char *rout, const char *form,...)
Definition c_xerbla.c:8
#define CBLAS_INT
Definition cblas.h:24
#define XerblaStrLen
Definition xerbla.c:6
Here is the call graph for this function: