[Rd] xerbla called from BLAS routine (PR#8100)

From: <gb_at_stat.umu.se>
Date: Sun 28 Aug 2005 - 11:58:51 GMT

Full_Name: Göran Broström
Version: R-2.1.1, 2.2.0
OS: Debian unstable
Submission from: (NULL) (

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').

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun Aug 28 22:04:17 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:19 GMT