comp.lang.ada
 help / color / mirror / Atom feed
From: Claude SIMON <claude.simon@setra.fr>
Subject: Re: Interface Ada95 => Fortran90
Date: Thu, 22 Nov 2001 10:44:34 +0100
Date: 2001-11-22T09:41:50+00:00	[thread overview]
Message-ID: <3BFCC902.758ADC8D@setra.fr> (raw)
In-Reply-To: mailman.1006382257.1841.comp.lang.ada@ada.eu.org

I think problems come from arrays, fortran derived types and pointers.

With arrays the problem come with assumed-shape array, array pointer and
allocatable array.
With fortran derived type the problem come from array component of the
above type.
Each fortran compiler has his own representation of pointer.

One way to avoid the problem is to code wrapper to translate from
fortran 90 to fortran 77
when arrays and pointers are involved.

Claude Simon

Jean Claude Berges a �crit :

> Hello all ,
>
> Can someone point me to tutorials, websites covering the topic of
> "Interface Ada95 ==> Fortran90" (call Fortran90 subroutines or
> functions from Ada95), like the work of Duncan Sands (see:
>  http://topo.math.u-psud.fr/~sands/BLAS/) but for Fortran90 types,
> not only basic Fortran77 types.
>
> In particular, examples about the "Import" of Fortran90 derived
> type, the use of Fortran90 optional statement  for dummy
> arguments, ...
>
> Thanks in advance.
>
>      Jean Claude BERGES
>      French Space Center ( DTS/MPI/MS/MN)
>      18,Av. Edouard Belin
>      31401 TOULOUSE Cedex 04 - FRANCE
>
>      E-mail : Jean-Claude.Berges@cnes.fr




  reply	other threads:[~2001-11-22  9:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-21 13:31 Interface Ada95 => Fortran90 Jean Claude Berges
2001-11-22  9:44 ` Claude SIMON [this message]
2001-11-22 13:52   ` Dan Nagle
2001-11-22 18:25     ` Claude SIMON
replies disabled

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