[R] make check-all failed on SLES8 for x86_64

Roger D. Peng rpeng at jhsph.edu
Tue Dec 14 19:54:58 CET 2004


Martin Maechler brought this up a while back (and added the regression 
test).  I believe it was a compiler problem and upgrading to gcc 3.4.1 
fixed it.

See the thread starting here:

https://stat.ethz.ch/pipermail/r-devel/2004-July/030260.html

-roger

Liaw, Andy wrote:
> Hi all,
> 
> I've only now noticed that on our Opteron boxes running Suse Enterprise
> Server 8 that R-2.0.1 did not pass make chek-all.  It bombed in
> tests/lapack.R at:
> 
> 
>>eigenok <- function(A, E, Eps = 1000 * .Machine$double.eps) {
> 
>     V <- E$vect
>     lam <- E$values
>     stopifnot(abs(A %*% V - V %*% diag(lam)) < Eps,  .... [TRUNCATED] 
> 
> 
>>Ceigenok <- function(A, E, Eps = 1000 * .Machine$double.eps) {
> 
>     V <- E$vect
>     lam <- E$values
>     stopifnot(Mod(A %*% V - V %*% diag(lam)) < Eps, .... [TRUNCATED] 
> 
> 
>>sm <- cbind(1, 3:1, 1:3)
> 
> 
>>eigenok(sm, eigen(sm))
> 
> Error: abs(A %*% V - V %*% diag(lam)) < Eps is not TRUE
> 
> This is using:
> ~/R-2.0.1> gcc -v
> Reading specs from /opt/gcc33/lib64/gcc-lib/x86_64-suse-linux/3.3/specs
> Configured with: ../configure --enable-threads=posix --prefix=/opt/gcc33
> --with-local-prefix=/usr/local --infodir=/opt/gcc33/share/info
> --mandir=/opt/gcc33/share/man --libdir=/opt/gcc33/lib64
> --enable-languages=c,c++,f77,objc,java,ada --disable-checking
> --enable-libgcj --with-gxx-include-dir=/opt/gcc33/include/g++
> --with-slibdir=/lib64 --with-system-zlib --enable-shared
> --enable-__cxa_atexit x86_64-suse-linux
> Thread model: posix
> gcc version 3.3 20030312 (prerelease) (SuSE Linux)
> 
> compiled with the following setting:
> 
> R is now configured for x86_64-unknown-linux-gnu
> 
>   Source directory:          .
>   Installation directory:    /usr/local
> 
>   C compiler:                gcc  -g -O2
>   C++ compiler:              g++  -g -O2
>   Fortran compiler:          g77  -g -O2
> 
>   Interfaces supported:      X11, tcltk
>   External libraries:        readline
>   Additional capabilities:   PNG, JPEG
>   Options enabled:           R profiling
> 
>   Recommended packages:      yes
> 
> Actually, I've only noticed this when the samething happens on a RH-based
> box (same hardware), using:
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --enable-languages=c,c++,objc,java,f77 --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-24)
> 
> I'd very much appreciate any pointers!
> 
> Best,
> Andy
> 
> 
> Andy Liaw, PhD
> Biometrics Research      PO Box 2000, RY33-300     
> Merck Research Labs           Rahway, NJ 07065
> andy_liaw <at> merck.com          732-594-0820
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/




More information about the R-help mailing list