[Numpy-discussion] Eigenvalues hangs

Sasha ndarray at mac.com
Mon Jan 23 19:15:03 CST 2006


Sorry for an empty message.  I lost connection and a half a page
message with it :-(

Here is a brief summary:

-ffloat-store may be expensive:

"""
Reading the gcc documentation, one finds that the -ffloat-store is an
expensive hack to attempt to avoid the excess precision in the floating
pointer registers on Intel FPUs.  Based on recent experience with
DONLP2, a noteworthy nonlinear solver, using -ffloat-store everywhere is
an unnecessarily costly workaround.
"""
<http://www.octave.org/octave-lists/archive/octave-maintainers.2004/msg00825.html>

If it has to be enabled, it should be limited to dlapack_lite .

Red Hat patched its own lapack by disabling optimization for a few routines:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=138683

-- sasha





On 1/23/06, Sasha <ndarray at mac.com> wrote:
> On 1/23/06, Sasha <ndarray at mac.com> wrote:
> > I think this issue was altimately resolved as a lapack rather than gcc
> > problem and -ffloat-store is not the right work-around.  I don't have
> > the right references right now, so unless someone steps in I will
> > follow up when I get home this evening.
> >
> > -- sasha
> >
> > On 1/23/06, Sébastien Boisgérault <boisgera at isia.cma.fr> wrote:
> > >
> > > Hi all,
> > >
> > > Robert Kern suggested to transfer a discussion that originated
> > > on comp.lang.python to this mailing-list.
> > >
> > > My problem is that on my platform the numpy 'eigenvalues' method
> > > hangs forever.
> > >
> > > Some platform info:
> > >     * numpy 0.9.4 (from the tar.gz)
> > >     * Linux Mandriva (gcc 4.0.1).
> > >     * no optimized BLAS version used.
> > >
> > > Greg Landrum pointed out that it may be a gcc 4.0 related problem and
> > > proposed a workaround -- to add the option '-ffloat-store' to CFLAGS.
> > >
> > > Could anybody tell me how I should modify the numpy sources to test
> > > this workaround ?
> > >
> > > Regards,
> > >
> > > SB
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > > _______________________________________________
> > > Numpy-discussion mailing list
> > > Numpy-discussion at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/numpy-discussion
> > >
> >
>




More information about the Numpy-discussion mailing list