When emerging dev-lang/R-2.2.1 with LAPACK-support (blas and lapack USE-flags enabled) and having "test" enabled in FEATURES, emerge dies when running the make checks: > kappa(x1 <- cbind(1,1:10))# 15.71 [1] 15.70590 > kappa(x1, exact = TRUE) # 13.68 [1] 13.67903 > kappa(x2 <- cbind(x1,2:11))# high! [x2 is singular!] [1] 8.351867e+16 > > hilbert <- function(n) { i <- 1:n; 1 / outer(i - 1, i, "+") } > sv9 <- svd(h9 <- hilbert(9))$ d > kappa(h9)# pretty high! [1] 728289149562 > kappa(h9, exact = TRUE) == max(sv9) / min(sv9) Error in La.svd(x, nu, nv) : BLAS/LAPACK routine 'DGEBRD' gave error code -10 Execution halted This seems to be related to the problem described here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169558 and can be fixed with the patch from Fedora's lapack-RPM.
Created attachment 84219 [details, diff] patch from Fedora This is the patch (lapack-fixlwork.patch) from Fedora's LAPACK-SRPM. I patched lapack-atlas-3.7.11 with it and R passed "make check". This patch is apparently also included in Debian's LAPACK-package.
you're lucky, i opened a bug: http://bugs.gentoo.org/show_bug.cgi?id=122465 i can't even compile R. any patch for that?
Is this still an issue with R-2.4.1? All test pass for me on both of my dev boxes. cheers, Markus
Hi, I just tried the latest blas, lapack and R-2.4.1 packages and it passes the tests now.
Hi Felix, Thanks for the update. I'll close this bug then. Please re-open should this crop up again. Best, Markus