[Rd] xerbla called from BLAS routine (PR#8100)
gb@stat.umu.se
gb at stat.umu.se
Sun Aug 28 13:58:51 CEST 2005
Full_Name: Göran Broström
Version: R-2.1.1, 2.2.0
OS: Debian unstable
Submission from: (NULL) (213.65.9.59)
Some BLAS routines call xerbla for error messages, which results in a message
like
"LAPACK routine DGER gave error code -9".
Suggested solution: In
void F77_NAME(xerbla)(char *srname, int *info)
{
/* srname is not null-terminated. It should be 6 characters. */
char buf[7];
strncpy(buf, srname, 6);
buf[6] = '\0';
error(_("LAPACK routine '%6s' gave error code %d"), buf, -(*info));
}
change 'LAPACK' to 'The' (or 'The BLAS/LAPACK').
More information about the R-devel
mailing list