AMD Core Math Library

David O'Brien obrien at freebsd.org
Fri Sep 9 09:27:41 PDT 2005


On Fri, Sep 09, 2005 at 12:16:18PM +0100, Michael Hopkins wrote:
> I am wanting to link BLAS/LAPACK routines to the optimised libraries
> available from AMD (ACML 2.7) and Intel (MKL 7.2.1) and was wondering if
> anyone else had done this successfully or had any advice for me.
...
> There are three distinct build/link scenarios:
> 1) Natively on FreeBSD amd64 (using Athlon64/Opteron, hence ACML)
> 2) Cross-compiling to 32-bit Linux (Intel & AMD with
> /compat/linux/usr/bin/cc)
> 3) Cross-compiling to Win32 (Intel & AMD with /usr/local/mingw32/bin/cc)

mingw32 produces fully native PE Win32 applications vs. cygwin, correct?
So you'll need the Win32 version of ACML to do this.  I don't recall if
there is one, but if so it should "just work" in this cross build
environment.
 
> As both the libraries are intended for Linux, I am not sure of the
> implications for (1) & (3) - though the earlier replies to this thread seem
> to suggest no problem for (1) at least.

I've done (1) with no problems.

-- 
-- David  (obrien at FreeBSD.org)


More information about the freebsd-amd64 mailing list