From edd at debian.org  Thu Apr 17 15:19:50 2003
From: edd at debian.org (Dirk Eddelbuettel)
Date: Thu Apr 17 21:20:08 2003
Subject: [Rd] R 1.7.0 installation problem: make check fails when using
	--with-lapack option
In-Reply-To: <6ry929eye0.fsf@bates4.stat.wisc.edu>
References: <news2mail-3E9EF3C5.2060803@epigenomics.com>
	<6ry929eye0.fsf@bates4.stat.wisc.edu>
Message-ID: <20030417191950.GA12963@sonny.eddelbuettel.com>

On Thu, Apr 17, 2003 at 02:07:19PM -0500, Douglas Bates wrote:
> > export CC=gcc-3.1 CXX=g++-3.1
> > 
> >    ./configure --prefix=/mnt/local/R/R-1.7.0-gcc-3.1.1
> > --enable-R-profiling=yes --enable-R-shlib=yes --with-f77
> > --with-blas=yes --with-lapack=yes --with-readline=yes
> > --with-tcltk=/usr/include/tcl8.3
> > --with-tcl-config=/usr/lib/tcl8.3/tclConfig.sh
> > --with-tk-config=/usr/lib/tk8.3/tkConfig.sh --enable-shared --with-pic
> > --with-x
> > 
> > --with-gnome --with-gnome-includes=/usr/include/gnome-1.0
> > --with-recommended-packages --with-aqua=yes  --with-libpng=yes
> > --with-jpeglib=yes --with-zlib=yes --with-bzlib=yes --with-pcre=yes
> > --with-libglade-config=/usr/bin/libglade-config
> > 
> > 
> >    configure output:
> > 
> >    R is now configured for i686-pc-linux-gnu
> > 
> >    Source directory:          .
> >    Installation directory:    /mnt/local/R/R-1.7.0-gcc-3.1.1
> > 
> >    C compiler:                gcc-3.1 -D__NO_MATH_INLINES -mieee-fp -g -O2
> >    C++ compiler:              g++-3.1 -mieee-fp -g -O2
> >    Fortran compiler:          g77 -mieee-fp -g -O2

This looks like you're mixing 3.1 for gcc/g++ and the default (2.95 ?) for
g77. Probably risky. 


> >    Interfaces supported:      X11, gnome, tcltk
> >    External libraries:        readline, BLAS(ATLAS), LAPACK(generic)

That mixes Atlas blas with normal lapack. Probably ok, but not a combination
we tried explicitly.

> >    Additional capabilities:   PNG, JPEG, bzip2, PCRE
> >    Options enabled:           shared library, R profiling
> > 
> >    Recommended packages:      no
> 
> Very peculiar.  I just checked the machine where I compiled the
> R-1.7.0 Debian packages for the stable distribution.  During the
> Debian package build we do run 'make check' and that succeeded on that
> machine.
> 
> Now I get the peculiar situation that, with h9 the 9x9 Hilbert matrix,
> I can successfully run
> 
> svd(h9)
> svd(h9, nu = 0)
> svd(h9, nv = 0)
> 
> but
> 
> svd(h9, nu = 0, nv = 0)
> 
> fails with the error that you quote.

Uggh. My apologies for replying too soon earlier.

Dirk

> I compiled these packages with g77-3.0 for the Fortran compiler.  Are
> there known problems with that?
> 
> On another machine running Debian testing and using the gcc-3.2
> compiler suite the tests pass.
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Don't drink and derive. Alcohol and algebra don't mix.


[Rd] R 1.7.0 installation problem: make check fails when using --with-lapack option
Dirk Eddelbuettel