9{
14
15
16
17
18
19
21
23 printf(
"***** XERBLA WAS CALLED WITH SRNAME = <%s> INSTEAD OF <%s> *******\n", rout,
cblas_rout);
25 }
26
28 {
29
30
31
32
33
34
35
36 if (strstr(rout,"gemm") != 0 && strstr(rout, "gemmtr") == 0)
37 {
38 if (info == 5 ) info = 4;
39 else if (info == 4 ) info = 5;
40 else if (info == 11) info = 9;
41 else if (info == 9 ) info = 11;
42 } else if (strstr(rout, "gemmtr") != 0)
43 {
44 if (info == 11) info = 9;
45 else if (info == 9 ) info = 11;
46 }
47
48 else if (strstr(rout,"symm") != 0 || strstr(rout,"hemm") != 0)
49 {
50 if (info == 5 ) info = 4;
51 else if (info == 4 ) info = 5;
52 }
53 else if (strstr(rout,"trmm") != 0 || strstr(rout,"trsm") != 0)
54 {
55 if (info == 7 ) info = 6;
56 else if (info == 6 ) info = 7;
57 }
58 else if (strstr(rout,"gemv") != 0)
59 {
60 if (info == 4) info = 3;
61 else if (info == 3) info = 4;
62 }
63 else if (strstr(rout,"gbmv") != 0)
64 {
65 if (info == 4) info = 3;
66 else if (info == 3) info = 4;
67 else if (info == 6) info = 5;
68 else if (info == 5) info = 6;
69 }
70 else if (strstr(rout,"ger") != 0)
71 {
72 if (info == 3) info = 2;
73 else if (info == 2) info = 3;
74 else if (info == 8) info = 6;
75 else if (info == 6) info = 8;
76 }
77 else if ( ( strstr(rout,"her2") != 0 || strstr(rout,"hpr2") != 0 )
78 && strstr(rout,"her2k") == 0 )
79 {
80 if (info == 8) info = 6;
81 else if (info == 6) info = 8;
82 }
83 }
84
86 printf(
"***** XERBLA WAS CALLED WITH INFO = %" CBLAS_IFMT " INSTEAD OF %d in %s *******\n",info,
cblas_info, rout);
90}