[Numpy-discussion] testing with amd libm/acml

David Cournapeau cournape@gmail....
Wed Nov 7 07:34:17 CST 2012


On Wed, Nov 7, 2012 at 12:35 PM, Neal Becker <ndbecker2@gmail.com> wrote:
> I'm trying to do a bit of benchmarking to see if amd libm/acml will help me.
>
> I got an idea that instead of building all of numpy/scipy and all of my custom
> modules against these libraries, I could simply use:
>
> LD_PRELOAD=/opt/amdlibm-3.0.2/lib/dynamic/libamdlibm.so:/opt/acml5.2.0/gfortran64/lib/libacml.so
> <my program here>
>
> I'm hoping that both numpy and my own dll's then will take advantage of these
> libraries.
>
> Do you think this will work?

Quite unlikely depending on your configuration, because those
libraries are rarely if ever ABI compatible (that's why it is such a
pain to support).

David


More information about the NumPy-Discussion mailing list