You should ask this on R-devel, and tell them exactly what compilers you
used. See the posting guide: this falls under
'Questions likely to prompt discussion unintelligible to non-programmers
should go to to R-devel.'
But yes, it is something to worry about and it looks as if your compiler
generated incorrect code. The 'R Installation and Administration Guide'
has things to say about what that compiler appears to be, and you seem
not to have followed its advice.
On 11/01/2012 20:41, Anirban Jana wrote:> Hi,
> After building R 2.14.1 on a Linux system (SUSE Linux Enterprise Server
> 11 (x86_64) ), I ran "make check" but it halted with the foll
error:
> Testing examples for package ?base?
> Error: testing 'base' failed
> Execution halted
>
> I looked in <build dir>/test/Examples/base-Ex.Rout.fail and found the
foll:
>
> *******EXCERPT *****
> ...
> > ### ------- Pickyness Flags : -----------------------------
> ...
> > ## Don't show:
> > m0 <- m <- structure(cbind(I=1, a=1:3), foo = "bar",
class = "matrix")
> > attributes(m0) <- rev(attributes(m))
> > names(attributes(m0)) # 'dim' remains first, interestingly...
> [1] "dim" "class" "foo" "dimnames"
> >
> > stopifnot(identical(0, -0), !identical(0, -0, num.eq=FALSE),
> + identical(NaN, -NaN), !identical(NaN, -NaN, single.NA=FALSE),
> + identical(m, m0), !identical(m, m0, attrib.as.set=FALSE) )
> Error: !identical(0, -0, num.eq = FALSE) is not TRUE
> Execution halted
> ******END OF EXCERPT******
>
> I configured the R build with
> ./configure --prefix=/usr/local/packages/R/builds/2.14.1
> --with-blas="-mkl=sequential"
--with-lapack="-mkl=sequential" CC=icc
> CFLAGS="-O3 -mkl=sequential" F77=ifort FFLAGS="-O3
-mkl=sequential"
> CXX=icpc CXXFLAGS="-O3 -mkl=sequential" FC=ifort
FCFLAGS="-O3
> -mkl=sequential" LDFLAGS="-O3 -mkl=sequential"
>
> I also tried building with O2 intead of O3, it gave the same error on
> running "make check".
>
> I had previously built R 2.11.1 similarly on the same system, and that
> build passed all tests.
>
> Is this error sth to be concerned with? If yes, how to fix it?
>
> Many thanks in advance for the help
> Anirban
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595