From: Dirk Eddelbuettel <edd at debian.org>
To: Matias Salibian-Barrera <msalibian at yahoo.ca>
Cc: "r-sig-debian at r-project.org" <r-sig-debian at r-project.org>
Sent: Monday, June 6, 2011 12:55:36 PM
Subject: Re: [R-sig-Debian] Lapack or Blas crashing R when using "large" matrices (Ubuntu 11.04)
Works fine here (Ubuntu 11.04, R 2.13.0 from CRAN):
edd at max:~$ cat /tmp/matias.r
p <- 500
n <- 300
set.seed(1234)
x <- matrix(rnorm(n*p), n, p)
sih <- var(x)
b <- svd(sih)
cat("All good\n")
edd at max:~$ r /tmp/matias.r
All good
edd at max:~$
Maybe you have the wrong atlas package installed?? What does this yield for
you:
edd at max:~$ dpkg -l | grep "atlas\|blas"
ii? gotoblas2-helper? ? ? ? ? ? ? ? 0.1-12.local.1? ? ? ? ? ? ? ? ? GotoBLAS2
helper
ii? libatlas-headers? ? ? ? ? ? ? ? 3.6.0-24ubuntu1? ? ? ? ? ? ? ? ?
Automatically Tuned Linear Algebra Software,C header files
ii? libatlas3gf-base? ? ? ? ? ? ? ? 3.8.3-29? ? ? ? ? ? ? ? ? ? ? ?
Automatically Tuned Linear Algebra Software, generic shared
ii? libblas-dev? ? ? ? ? ? ? ? ? ? ? 1.2-8? ? ? ? ? ? ? ? ? ? ? ? ? ? Basic
Linear Algebra Subroutines 3, static library
ii? libblas-test? ? ? ? ? ? ? ? ? ? 1.2-8? ? ? ? ? ? ? ? ? ? ? ? ? ? Basic
Linear Algebra Subroutines 3, testing programs
ii? libblas3gf? ? ? ? ? ? ? ? ? ? ? 1.2-8? ? ? ? ? ? ? ? ? ? ? ? ? ? Basic
Linear Algebra Reference implementations, shared library
edd at max:~$
showing that I use the standard Atlas package from Ubuntu.
Dirk
--
Gauss once played himself in a zero-sum game and won $50.
? ? ? ? ? ? ? ? ? ? ? -- #11 at http://www.gaussfacts.com