comp.lang.ada
 help / color / mirror / Atom feed
From: Ken <kst@ecs.soton.ac.uk>
Subject: Re: Gnat2007 and Ada.Numerics.Generic_Real_Arrays
Date: Fri, 01 Jun 2007 02:40:03 -0700
Date: 2007-06-01T02:40:03-07:00	[thread overview]
Message-ID: <1180690803.309620.172150@p47g2000hsd.googlegroups.com> (raw)
In-Reply-To: <465c04cf$0$21518$426a74cc@news.free.fr>

On May 29, 11:47 am, Yves Bailly <kafka...@laposte.net> wrote:
> Ken wrote:
> > [...]
> > I have looked at the GNAT2007 and Ada.Generic_Real_Arrays. It needs a
> > link to a BLAS/LAPACK library. I have tested it with compiled BLAS/
> > LAPACK with the gnat FORTRAN compiler. Some timing on Windows XP
> > (Intel Core 2CPU): to multiply two matrices of size 500 produced a
> > rate of 1.17 GFlops/sec.
>
> Can you share the switches you used? I tried installing LAPACK using
> the GNU gfortran compiler, but I still get link errors...
>
> Thanks.
>
> YB

The library was built using the FORTRAN Compiler in the MinGW
installation. The compile options were -O4

>From gnatmake, the link options were:

-largs -LW:\d-drive\LAPACK -llapack_WindowsXP -lblas_WindowsXP  -LC:
\MinGW\lib -lg2c


The libraries refer to those created by G77 and we note the need for
some modules from g2c.

I have used both Float and Long_Float in instaniations.

Hope this helps.

Ken




  reply	other threads:[~2007-06-01  9:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25 17:12 Gnat2007 and Ada.Numerics.Generic_Real_Arrays Yves Bailly
2007-05-25 18:47 ` Anh Vo
2007-05-25 18:59   ` Gautier
2007-05-26  7:53     ` Dmitry A. Kazakov
2007-05-26  9:31       ` Georg Bauhaus
2007-05-26 10:21         ` Dmitry A. Kazakov
2007-05-29  8:56           ` Ken
2007-05-29 10:47             ` Yves Bailly
2007-06-01  9:40               ` Ken [this message]
2007-05-28 10:19         ` Dirk Craeynest
2007-06-01  2:01 ` Anh Vo
2007-06-06  8:19 ` Maxim Reznik
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox