Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Ulf Griesmann <ulfg@groundhog.phy.nist.gov>
Subject: Re: Fortran compiler for Linux/Alpha
Date: Fri, 18 Oct 1996 08:47:06 -0400 (EDT)	[thread overview]
Message-ID: <a86dfa30b299942a71771eda957f9f7b.axp-list@archive.invalid> (raw)
In-Reply-To: <199610180524.BAA08287@rrdjazz.nist.gov>

On Fri, 18 Oct 1996, Przemek Klosowski wrote:

>    f2c (using it by itself and with the various drivers) gives me bad results
>    with rather simple programs. I was using a simple, well known Runge-Kutta
>    diff eq solver (rkf45.f at netlib) which works fine on my HP palmtop,
>    various Suns, OSF/1 boxen and etc, but it won't work on Linux-AXP or
> 
> I have often seen Fortran code that fails on f2c because of the
> missing SAVE's, i.e. the code assuming that subroutine local variables
> are preserved across different calls to this subroutine. This
> assumption is not only invalid as per Fortran 77, but is ...

f2c allocates all local variables static _unless_ you specifically tell 
it with the -a switch to make local variables automatic. By default, f2c 
plays it safe when it comes to SAVE - SAVE's are not required.

Ulf

-- 
  Ulf Griesmann                       \\\   Tel.: (301) 975 3212 (x73220)
  National Institute of                \\\   Fax.: (301) 990 1350
  Standards & Technology                \\\   e-mail:
  Atomic Physics Division, Bld. 221/A167 \\\   ulfg@aeldata.nist.gov
  Gaithersburg MD 20899, U.S.A.           \\\   ulfg@groundhog.phy.nist.gov 

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-10-18 12:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199610180524.BAA08287@rrdjazz.nist.gov>
1996-10-18 12:47 ` Ulf Griesmann [this message]
     [not found] <Pine.LNX.3.91.961016103053.15626A-100000@zen.linpro.no>
1996-10-16 21:50 ` Fortran compiler for Linux/Alpha Dwight Hogge
1996-10-16 22:56 ` Scott Locklin ESG
1996-10-21  8:16 ` Nigel Sale
1996-10-18  5:24 Przemek Klosowski
  -- strict thread matches above, loose matches on Subject: below --
1996-10-17 18:25 Toon Moene
1996-10-17 16:59 Craig Burley
1996-10-17 15:44 Michael J. Donahue
     [not found] <199610162150.OAA23968@topanga.arete.com>
1996-10-17 12:15 ` Jim Nance
1996-10-17 17:41   ` Dwight Hogge
1996-10-17 18:39     ` Jim Nance
1996-10-16 23:18 Michael J. Donahue
1996-10-16  8:45 Robert Rødsten
read-only archive

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