Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2005 09:27:35 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        Michael Hopkins <michael.hopkins@hopkins-research.com>
Cc:        "freebsd-amd64@freebsd.org" <freebsd-amd64@freebsd.org>
Subject:   Re: AMD Core Math Library
Message-ID:  <20050909162735.GA1493@dragon.NUXI.org>
In-Reply-To: <BF472D92.609D%michael.hopkins@hopkins-research.com>
References:  <BF472D92.609D%michael.hopkins@hopkins-research.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050909162735.GA1493>