From: yxc02740@Bayou.UH.EDU
Subject: Re: Fortran for Linux-Alpha
Date: Mon, 15 Apr 1996 22:51:43 -0500 (CDT) [thread overview]
Message-ID: <199604160351.WAA13578@Bayou.UH.EDU> (raw)
In-Reply-To: <9604160319.AA00499@maine.com>
> 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.
C codes shd not be that slow, I guess your C codes has some problems. From
clinpack(it is a linear algebra benchmark), a 200mhz 21064 chip can get
about 41Mflops. I guess your matrix solver may use similar algorithm so shd
have similar speed. It is not likely that a 300mhz 21164 is only 10% faster
than a 200mhz 21064.
In my personal experience, f77 is just marginally faster than C, less than
10% in all programs I have tried to code in both fortran and C.
>
> The contact at Microway is Terri Klaila at 508-746-7341.
>
> Hal Youngren
> --
prev parent reply other threads:[~1996-04-16 3:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-04-16 3:19 Fortran for Linux-Alpha Harold H. Youngren
1996-04-16 3:51 ` yxc02740 [this message]
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