From bates at stat.wisc.edu  Mon Oct 16 16:25:31 2006
From: bates at stat.wisc.edu (Douglas Bates)
Date: Mon, 16 Oct 2006 09:25:31 -0500
Subject: [Rd] x86_64, acml-3.5.0-gfortran64 and lme4
Message-ID: <40e66e0b0610160725y1afbaa56v906ac6efc595ae26@mail.gmail.com>

I am encountering segfaults when checking the lme4 package on an
Athlon64 system if I use the acml blas.  R was built as a 64-bit
application using the GCC 4.0.3 compiler suite including gfortran.
The version of acml is 3.5.0 gfortran64.

I do not encounter the segfaults when I compile R with R's built-in
BLAS.  The errors occur in the first example in lme4 in a call to
lmer. It looks like they would occur in any call to lmer.  Running
under the debugger shows that the segfault occurs in a call to dtrsm
(a level-3 BLAS routine to solve a triangular system of equations)
that is called from within a cholmod (sparse matrix library) routine.

Has anyone succeeded in running R CMD check on the lme4 package with
accelerated BLAS?  I'm trying to pin down is this occurs only with
ACML or also with Atlas and/or Goto's BLAS.




[Rd] x86_64, acml-3.5.0-gfortran64 and lme4
Douglas Bates