[Numpy-discussion] Failure to build numpy 1.6.1

David Cournapeau cournape at gmail.com
Tue Nov 8 04:01:54 EST 2011


Hi Mads,

On Tue, Nov 8, 2011 at 8:40 AM, Mads Ipsen <madsipsen at gmail.com> wrote:
> Hi,
>
> I am trying to build numpy-1.6.1 with the following gcc compiler specs:
>
> Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-java-awt=gtk
> --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)
>
> I get the following error (any clues at what goes wrong)?

This looks like a compiler bug (gcc 3.4 is really old). einsum uses
SSE intrinsics, and old gcc implementations are quite buggy in that
area.

Could you try the following, at line 38, to add the following:

#define EINSUM_USE_SSE1 0
#define EINSUM_USE_SSE2 0

cheers,

David



More information about the NumPy-Discussion mailing list