[Numpy-discussion] Eigenvalues hangs

David M. Cooke cookedm at physics.mcmaster.ca
Mon Jan 23 12:03:03 EST 2006


Sébastien Boisgérault <boisgera at isia.cma.fr> writes:

> 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 ?

You should just be able to do the setup like this:

$ CFLAGS='-ffloat-store' python setup.py build

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca




More information about the NumPy-Discussion mailing list