Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Ada is PL/I trying to be Smalltalk. -- Codoso diBlini


devel / comp.lang.fortran / Re: Fortran 95 features in f90 files?

SubjectAuthor
* Fortran 95 features in f90 files?Woozy Song
+- Re: Fortran 95 features in f90 files?Steven G. Kargl
`- Re: Fortran 95 features in f90 files?Steve Lionel

1
Fortran 95 features in f90 files?

<u5935i$2mf7d$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3422&group=comp.lang.fortran#3422

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: suzyw0ng@outlook.com (Woozy Song)
Newsgroups: comp.lang.fortran
Subject: Fortran 95 features in f90 files?
Date: Thu, 1 Jun 2023 11:26:39 +0800
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <u5935i$2mf7d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 1 Jun 2023 03:26:42 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d08d4ec219d3eae0432c775b402d1e70";
logging-data="2833645"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Q0NXOA6FJYX4w4ekEfgfLtrbA07GeQow="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.16
Cancel-Lock: sha1:pduKVHwu9Wb6mbW8oT3T6ZkurxY=
X-Mozilla-News-Host: news://news.eternal-september.org:119
 by: Woozy Song - Thu, 1 Jun 2023 03:26 UTC

I have been going through a package written about 20 years ago. The
documentation says Fortran 90, files have .f90 extensions and compiled
with mpif90 (which will be a wrapper to gfortran or Intel ifort).
In several places, it has
n=SIZE(array)
but SIZE is officially a Fortran 95 addition. So do compilers accept
this, or were they pushing their luck? Say if PGI or IBM compiler was
used, are you S.O.L.?

Re: Fortran 95 features in f90 files?

<u59611$2mn0f$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3423&group=comp.lang.fortran#3423

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.lang.fortran
Subject: Re: Fortran 95 features in f90 files?
Date: Thu, 1 Jun 2023 04:15:30 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <u59611$2mn0f$1@dont-email.me>
References: <u5935i$2mf7d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 1 Jun 2023 04:15:30 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="343697cfa948e79f25830ddf631d91c2";
logging-data="2841615"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/xZRE3z/SyDjBrwVx1ix1Q"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:oZuVvhAh/o/Mhc0srjeg1phkA7s=
 by: Steven G. Kargl - Thu, 1 Jun 2023 04:15 UTC

On Thu, 01 Jun 2023 11:26:39 +0800, Woozy Song wrote:

> I have been going through a package written about 20 years ago. The
> documentation says Fortran 90, files have .f90 extensions and compiled
> with mpif90 (which will be a wrapper to gfortran or Intel ifort).
> In several places, it has
> n=SIZE(array)
> but SIZE is officially a Fortran 95 addition. So do compilers accept
> this, or were they pushing their luck? Say if PGI or IBM compiler was
> used, are you S.O.L.?

Yes, compilers will accept it. It is conventional to name
free-form source files with a .f90 extension. The f90
does not mean that it is strictly a Fortran 90 conforming
code. BTW, .f is the extension commonly used with
fixed-form source code.

--
steve

Re: Fortran 95 features in f90 files?

<kds35bF64m2U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3424&group=comp.lang.fortran#3424

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: steve@seesignature.invalid (Steve Lionel)
Newsgroups: comp.lang.fortran
Subject: Re: Fortran 95 features in f90 files?
Date: Thu, 1 Jun 2023 13:34:35 -0400
Lines: 23
Message-ID: <kds35bF64m2U1@mid.individual.net>
References: <u5935i$2mf7d$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net KPeSYO9FHxoWfY+jsqN+8QJl8PMe/cOZ6eLpAdniArtuhQMZd4
Cancel-Lock: sha1:qsqOYE+7+pFK5CBjc2mj+JPGJ64=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Content-Language: en-US
In-Reply-To: <u5935i$2mf7d$1@dont-email.me>
 by: Steve Lionel - Thu, 1 Jun 2023 17:34 UTC

On 5/31/2023 11:26 PM, Woozy Song wrote:
> I have been going through a package written about 20 years ago. The
> documentation says Fortran 90, files have .f90 extensions and compiled
> with mpif90 (which will be a wrapper to gfortran or Intel ifort).
> In several places, it has
>  n=SIZE(array)
> but SIZE is officially a Fortran 95 addition.  So do compilers accept
> this, or were they pushing their luck? Say if PGI or IBM compiler was
> used, are you S.O.L.?

You may find
https://stevelionel.com/drfortran/2013/01/11/doctor-fortran-in-source-form-just-wants-to-be-free/" rel="nofollow" target="_blank">https://stevelionel.com/drfortran/2013/01/11/doctor-fortran-in-source-form-just-wants-to-be-free/
to be useful reading.
--
Steve Lionel
ISO/IEC JTC1/SC22/WG5 (Fortran) Convenor
Retired Intel Fortran developer/support
Email: firstname at firstnamelastname dot com
Twitter: @DoctorFortran
LinkedIn: https://www.linkedin.com/in/stevelionel
Blog: https://stevelionel.com/drfortran
WG5: https://wg5-fortran.org

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor