From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,a4c1c8c629c470f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-22 01:51:50 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.25.12.36!oleane.net!oleane!setranews.setra.fr!not-for-mail From: Claude SIMON Newsgroups: comp.lang.ada Subject: Re: Interface Ada95 => Fortran90 Date: Thu, 22 Nov 2001 10:44:34 +0100 Organization: SETRA - CTOA Message-ID: <3BFCC902.758ADC8D@setra.fr> References: NNTP-Posting-Host: calamar.setra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: setranews.setra.fr 1006422110 4395 161.48.101.33 (22 Nov 2001 09:41:50 GMT) X-Complaints-To: usenet@setranews.setra.fr NNTP-Posting-Date: 22 Nov 2001 09:41:50 GMT X-Mailer: Mozilla 4.7 [fr] (WinNT; I) X-Accept-Language: fr Xref: archiver1.google.com comp.lang.ada:16840 Date: 2001-11-22T09:41:50+00:00 List-Id: 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