[Pkg-scicomp-devel] Fixing atlas on debian/Ubuntu

David Cournapeau cournape at gmail.com
Thu Sep 3 07:25:41 UTC 2009


(resending to the list)

On Thu, Sep 3, 2009 at 3:49 PM, Sylvestre Ledru<sylvestre at debian.org> wrote:

> I am doing it. I am disabling SEE extensions in the base package.

You mean by forcing the ISA with -A/-V options ? Unfortunately, that's
not enough. For example, if I configure atlas as follows:

../configure -V -1 -A 9 -b 32 -t 0

on a recent core2duo, the generated library still contains SSE
instructions (and the test binaries crash on qemu with SSE disabled).
The first patch in the git repository + the arch defaults in
debian/ARCHS take care of this issue (for x86).

To check my patch was working, I used a perl script found somewhere to
check whether a given binary contains any SIMD instruction set (by
disassembling and counting each SIMD set).

> If you saw my efforts, why didn't you come to help ?

I wanted to fix the above problem first, and at that point, doing my
own rule file was easier than trying to understand someone else's. Now
that I know it works, I would like to see those patches included on
top of your effort.

> It is done at build time. I am just saying to the atlas configure that I want a build specific to this arch.

But what happens if you install both sse3 and the core i7 packages ?

cheers,

David



More information about the Pkg-scicomp-devel mailing list