Skip to content

cmdscale in package mva (PR#1027)

3 messages · Brian Ripley, Duncan Temple Lang, Kurt Hornik

#
On Tue, 17 Jul 2001, Kurt Hornik wrote:

            
Can you put a breakpoint at line 72 of Lapack.c and see what value of lwork
is returned?  Alternatively, it may fail on the first dsyev call, in which
case I would guess that the wrong LAPACK routine is being found (and that's
a plausible explanation).

I get 102 with the built-in BLAS: the answer should be at least max(1, 3*n-1)

What BLAS is in use?  The intention is that the workspace is chosen large
enough to allow the BLAS to work efficiently: it might just be that
the BLAS is reporting erroneously.
#
For what it is worth, I saw this problem a few weeks ago but didn't
have time to investigate it in depth and managed to find a work
around.  It arose for me on Solaris, specifically when I was compiling
with the native C compiler cc and f77.  Switching to gcc and f77
removed the problem.  (There is a possibility that I have this
backwards, but I think my memory is correct on this point.)

D.
ripley@stats.ox.ac.uk wrote:

  
    
#
Earlier today I tried

	stat.auckland		(solaris)
	rgmiller.stanford	(irix)

both with gcc and g77.  Make check went thru on solaris but irix had the
reported problems ...

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._