Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Assumed Size VS Assumed Shape Array

Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!sdd.hp.com!usc.edu!attla2!ip.att.net!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail
From: "Steve Lionel" <Steve.Lio...@intel.com>
Newsgroups: comp.lang.fortran
References: <akpaaj$1kenmf$1@ID-155171.news.dfncis.de> <m2r8gf7d5y.fsf@vega.dsl.att.net> <Pine.LNX.4.21.0208311200140.32727-100000@cens.kybi>
Subject: Re: Assumed Size VS Assumed Shape Array
Lines: 27
Organization: Intel Corporation
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <s93c9.72641$_91.15480@rwcrnsc51.ops.asp.att.net>
NNTP-Posting-Host: 66.31.4.85
X-Complaints-To: abuse@attbi.com
X-Trace: rwcrnsc51.ops.asp.att.net 1030799064 66.31.4.85 (Sat, 31 Aug 2002 13:04:24 GMT)
NNTP-Posting-Date: Sat, 31 Aug 2002 13:04:24 GMT
Date: Sat, 31 Aug 2002 13:04:24 GMT

"Pearu Peterson" <pe...@cens.ioc.ee> wrote in message
news:Pine.LNX.4.21.0208311200140.32727-100000@cens.kybi...

> Is there any source of information available about the specification of
> the interface for assumed shape arrays? In particular, I am interested in
> constructiong assumed shape arrays in C in order to pass them to Fortran
> functions.

This is compiler-specific.  Check the documentation for the Fortran compiler
you are using.  Compaq Fortran documents this in the User Manual (or
Programmer's Guide) chapter on mixed-language programming.  Note that for
multi-platform compilers (such as Compaq Fortran), the interface may vary by
platform.  (For example, on OpenVMS, Compaq Fortran uses the OpenVMS calling
standard "class NCA" descriptor.)

--

Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH

Compaq Fortran - http://www.compaq.com/fortran
Intel Fortran - http://developer.intel.com/software/products/compilers/f60/