alphalinux.org high-perf list (1998-2001)
 help / color / mirror / Atom feed
From: esci <esci@fastlane.net>
Subject: Re: Performance Comparison of Compilers
Date: Thu, 21 Jan 1999 09:37:35 -0600 (CST)	[thread overview]
Message-ID: <199901211537.JAA0000005356@localhost> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1995 bytes --]

I got a similar 533 LX  from Microway and NDP FORTRAN.  After some testing, I

returned the compiler and converted to DU.  Unfortunately, I can't say the

conversion was an overwhelming success.  For all its flaws Linux is at least

as good as DU if not better.  The performance of the DU compilers is quite

good.  Other aspects are less satisfactory.  One of my motivations for the

conversion was the very weak FORTRAN support in gdb.  As it turns out, the

DU debuggers are as bad or worse.  There is no support at all for any intrinsics

or the exponential.

   print sin(x)**b

just produces error messages from ladebug(1).  dbx is even worse!

Performance of NDP FORTRAN was rather varied.  For simple tests such as dot 

products and polynomial evaluations, it was within 10-20% of the DU performance.

For another test, my actual problem, it was 3 times slower.  This is because

of the handling of sqrt().  The problem has 3 sqrt() operations per loop

iteration.  Interestingly, in some case g77 was faster than NDP, though in

general NDP produced much quicker runs.  The documentation of NDP is a bit 

weak though.  The only real discussion of the compiler flags is the tutorial

that Fried has on the Microway web page.

In retrospect, unless you absolutely have to have the best possible performance

on a wide range of problems, the NDP compiler is a pretty good choice.  It

is certainly far cheaper than the almost $2500 license fee for DU & Digital 

FORTRAN.  Mike Warren et al report using the Gnu tools w/ the dgemm routines.

If your problem is concentrated in a small loop consider just hand optimizing

the code produced by gcc & g77 after you get it written and debugged.

Note that although it appears to be possible to run DU code on a Linux box,

there seem to be licensing issues.  I've not looked into these yet.  I

will probably simply let DU generate assembly sequences which I will then

move to Linux for assembly and linking.

Reg Beardsley

rhb@acm.org

             reply	other threads:[~1999-01-21 15:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-21 15:37 esci [this message]
1999-01-21 18:07 ` Performance Comparison of Compilers Claus Denk
1999-01-21 19:46   ` Michal Jaegermann
1999-01-21 20:17     ` Claus Denk
  -- strict thread matches above, loose matches on Subject: below --
1999-01-21 18:32 Stefan Schroepfer
1999-01-20 17:52 Dr J Pelan
1999-01-21  7:25 ` Piotr A Dybczynski
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