Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harold H.Youngren <guppy@maine.com>
Subject: Re: g77 experience (now with comment on NDP f77)
Date: Wed, 23 Apr 97 17:33:14 -0400	[thread overview]
Message-ID: <9704232133.AA00356@maine.com> (raw)

>Claus Denk replied to Thomas Schneider with:
>> 

>> Hello,
>> 

>> we are planning to buy an aplha for computational fluid mechanics.
>> Since our programs are written in fortran, we need to know how the g77
>> works on an alpha (reliability, performance etc ..). Is there anybody
>> who has experiences ?
>> 

>
>The first version of g77 that supports alpha is 0.5.20 and it
>does not compile out of the box on elf systems (although there
>is a workaraound). I think 0.5.21 should fix that.
>
>Performance depends a lot on the code that you have in mind, can't
>tell about fluid mechanics. You will find codes that perform quite
>well with g77 and others that run 2-3 times faster compiled with
>a digital f77 compiler. So if you really need this machine for
>production runs NOW, either:
>
>i) get it with DU and f77 (if you can afford)
>ii) try the NDP commercial compiler for alpha-linux and tell me
>how it performs ! (I posted a question about this compiler on
>the comp.lang.fortran group and no one replied - anyone on this
>list ?)

The only good fortran compiler for the Alpha is the DEC f77/f90 compiler that  
runs under OSF.  These compilers produce by far the best, fastest code and have  
fast compile times (I mention this for a reason, wait...).  From my optimized  
codes I can get 100-150 MFLOPS on a 300mhz 21164 Microway Screamer processor.   
If you are doing stuff that can take advantage of the DEC DXML (tuned LAPACK  
routines) you will be amazed at the speed that you can get for matrix  
operations (I get 350 MFLOPS on LU decomps and 400+ MFLOPS on matrix  
multiplies).   

The fortran situation under Linux/Alpha is pretty bleak, that is why I run DEC  
OSF and the DEC f77/f90 for my work.  If you use f2c/gcc you can expect to get  
about 40 MFLOPS out of a LINPACK benchmark (that runs at 140 MFLOPS on DEC  
f77!).  A bit faster with DEC cc. G77 is currently not yet stable under  
Linux/Alpha although you can make it run and it may well be somewhat faster.    

Microway is selling an Alpha version of their NDP f77 compiler but that  
compiler currently only produces 32 bit code (internally it is a 32 bit  
compiler).  It uses its own special libc in addition to the fortran libs and  
cannot, in general, be linked with 64 bit compiled C code (native AXP  
pointers,longs,etc).  Microway has had to patch the Linux kernel and loader to  
run the NDP 32 bit executables.  The two versions of the NDP compiler that I  
have briefly used max out performance-wise at about 70-80 MFLOPS in a LINPACK  
benchmark.  Note that this is what I get when I use it, Steve Fried at Microway  
claims somewhat more speed.  The problem with the NDP compiler is their  
optimizer/scheduler which takes so long to optimize anything that you really  
can't use it for serious work.  It takes over 10 minutes for the NDP compiler  
running on the 300mhz Alpha to optimize a 20 line SAXPY routine!  And the  
results are never as good as the DEC compiler that does it in about 2 seconds,  
although Steve Fried (Microway) now maintains that his NDP optimized DAXPY is  
as fast as that from DEC f77.  The practical upshot of the slow optimization is  
that I don't even try to optimize anything complex with the NDP compiler.  If  
you did a complete profiling and extracted only the key routines for  
optimization you might get better results.

The people at Microway are in the process of rewriting their compiler for 64  
bit internals to get around all the interface issues with gcc code.  I don't  
know when that process will be finished and a new version will be available.

Terri Klaila at Microway (508)-746-7341 is quite up front and frank about this  
and has been quite helpful.  She normally recommends that people who need speed  
run DEC OSF to use the DEC f77/f90 compiler, rather than Linux - for the moment  
at least.  

Any other comments from AXP'ers on the NDP compiler?

--

*************************************************************
* 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              *
*************************************************************

 

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-04-23 21:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-04-23 21:33 Harold H.Youngren [this message]
1997-04-24  3:33 ` g77 experience (now with comment on NDP f77) Michal Jaegermann
1997-04-24 17:30   ` Scott Locklin
1997-04-24 18:01     ` CHIH-HSIANG HENRY YAO
  -- strict thread matches above, loose matches on Subject: below --
1997-04-24 11:57 Harold H.Youngren
1997-04-24 21:59 Toon Moene
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