From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx?
Date: Tue, 13 Jul 2010 00:12:22 -0400
Date: 2010-07-13T00:12:22-04:00 [thread overview]
Message-ID: <nospam-22F7CF.00122113072010@news.aioe.org> (raw)
In-Reply-To: 5cf5e149-a827-4890-a80b-6ee37109ddca@i19g2000pro.googlegroups.com
In article
<5cf5e149-a827-4890-a80b-6ee37109ddca@i19g2000pro.googlegroups.com>,
Jerry <lanceboyle@qwest.net> wrote:
> The PLplot developers need a bit of help with automating their build
> process with regard to Ada (GNAT only). They use cmake. As the person
> who wrote the Ada binding, I've been asked to get the information.
>
> Currently, cmake has an Ada 2005 flag which if set, with-s and use-s
> Ada.Numerics.Long_Real_Arrays which was added in Ada 2005. If the
> flag is not set, the binding source code is automatically modified a
> little bit so that the 2005-specific stuff is not needed. (The
> binding only needs the Vector and Matrix declarations, so this is a
> lot of work for such a small benefit, but that's the way things are
> right now.)
>
> If Ada.Numerics.Long_Real_Arrays is used, it needs to link to lapack
> and blas which the PLplot cmake process can be made to handle.
>
> So the questions are:
>
> (1) What is the earliest version of GNAT that requires lapack and blas
> if Ada.Numerics.Long_Real_Arrays is referenced? I think it might be
> 4.3.
Definitely in 4.3.4:
$ pwd
/usr/local/ada-4.3/lib/gcc/i686-apple-darwin9/4.3.4/adainclude
$ egrep -iH "with.*blas|with.*lapack" a-*.ad[sb]
a-ngcoar.adb:with System.Generic_Complex_BLAS;
a-ngcoar.adb:with System.Generic_Complex_LAPACK;
a-ngrear.adb:with System.Generic_Real_BLAS;
a-ngrear.adb:with System.Generic_Real_LAPACK;
> (2) Is there an earlier version that has the limited capabilities
> required by the Ada binding, specifically, only the declarations for
> type Real_Vector is array (Integer range <>) of Real'Base; type
> Real_Matrix is array (Integer range <>, Integer range <>) but which
> does not require linking lapack and blas?
I started with Martin Dowie's 296 & 346:
<http://www.martin.dowie.btinternet.co.uk/>
IIRC, the changes were minor. If it would help, I have the last,
independent set that I used before switching to BLAS/LAPACK in June,
20009.
<http://home.roadrunner.com/~jbmatthews/misc/groots.html>
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
next prev parent reply other threads:[~2010-07-13 4:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 2:34 Which GNAT requires LAPACK and BLAS for Ada.Numerics.xxx? Jerry
2010-07-13 4:12 ` John B. Matthews [this message]
2010-07-14 13:00 ` Ada novice
2010-07-15 7:46 ` Jerry
2010-07-15 11:16 ` Ludovic Brenta
2010-07-14 13:15 ` Ludovic Brenta
2010-07-15 7:48 ` Jerry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox