From: Marc Enzmann <Marc.Enzmann@web.de>
Subject: Re: gnatmake, gnat2007. Linking to lapack and blas using with Ada.Numerics.Generic_Real_Arrays;
Date: Sun, 12 Aug 2007 09:53:49 -0000
Date: 2007-08-12T09:53:49+00:00 [thread overview]
Message-ID: <1186912429.904148.80300@b79g2000hse.googlegroups.com> (raw)
In-Reply-To: <1186880461.557632.250230@g12g2000prg.googlegroups.com>
Hi Jerry!
The libraries for MacOS -on my MacBook with 10.4- are libBLAS.dylib
and
libLAPACK.dylib, so no problem here, but:
I had to tinker with the Interfaces.Fortran.BLAS package, which is
used
to write Ada wrappers for the BLAS and LAPACK functions. The
"standard"
i-forbla.ads uses pragma import to access Fortran Routines, which are
not
available on standard Mac OS. I had to replace the Fortran Routines in
the
import with C Routines. Not a clean solution, really.
It works, but I am not sure, whether I mapped all routines correctly.
Not much time to check ...
Send me an e-mail, if you would like to try my workaround.
Best regards,
Marc
On 12 Aug., 03:01, Jerry <lancebo...@qwest.net> wrote:
> Has anyone done this on OS X? I believe that lapack and blas are pre-
> installed but might be called clapack and cblas.
>
> Jerry
>
prev parent reply other threads:[~2007-08-12 9:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-10 23:34 gnatmake, gnat2007. Linking to lapack and blas using with Ada.Numerics.Generic_Real_Arrays; Nasser Abbasi
2007-08-12 1:01 ` Jerry
2007-08-12 9:53 ` Marc Enzmann [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox