From: Harold H. Youngren <guppy@maine.com>
Subject: Re: Fortran for Linux-Alpha
Date: Mon, 15 Apr 96 22:19:51 -0500 [thread overview]
Message-ID: <9604160319.AA00499@maine.com> (raw)
Hi,
I noticed a thread here about Fortran on Linux-Alpha.
This is a concern of mine as I use Fortran for fluid dynamics codes. Most of
these are still in Fortran. My experience is that a good f77 compiler runs
numeric codes much faster than the same code written in C. On a 300mhz 21164
running OSF with the DEC C and f77 compilers the difference is even higher, a
Fortran matrix solver I have runs at about 105 Mflops or so with best
optimization, the same thing coded in C runs at 45 Mflops with best
optimization. This expands on some of the comments that were made on relative
speed of different compiled languages. My understanding of why echoes the
earlier comments about optimizing memory fetches for Fortran, where the
structure of the arrays can be used in code optimization.
RE f77 compilers for Linux-Alpha:
I have been dealing with Microway, in Kingston, MA, on their Alpha Fortran
compiler for Linux. I bought a copy of the early version that runs under Linux
(on the Alpha) and produces about 60 Mflops with the same Fortran matrix solver
that I mentioned above. Microway was not happy with the optimizer and has been
making some changes to speed up its code. I have not tested the newest
changes. Note that this is a full-featured f77 compiler that runs native
under Linux, not free, but it works and is pretty damn fast now, maybe even
faster later. Note also that Microway has optimizing C and C++ compilers as
well, although I have no experience with them and don't know the status of any
ports to Linux-Alpha. It would be interesting to use a good optimizing
compiler (rather than the currently not-so-optimizing gcc) to compile the
kernel and system...
The contact at Microway is Terri Klaila at 508-746-7341.
Hal Youngren
--
*************************************************************
* Harold Youngren ----> Internet: guppy@maine.com *
* 129 Pitt St, or: guppy@netcom.com *
* Portland, ME 04103 AeroCraft Consulting *
* Home: (207)871-0552 Aeronautical Consulting, Analysis,*
* Fax: (207)871-1034 Design, CFD software *
*************************************************************
next reply other threads:[~1996-04-16 3:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-16 3:19 Harold H. Youngren [this message]
1996-04-16 3:51 ` Fortran for Linux-Alpha yxc02740
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