Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: bill@rsphys.anu.edu.au (Bill Alford)
Subject: Woeful Fortran execution timing on Alpha OSF1.3
Date: 20 Jan 1994 05:07:57 GMT	[thread overview]
Message-ID: <2hl3je$774@manuel.anu.edu.au> (raw)


The following small Fortran program executes woefully slow on a DEC Alpha
OSF1.3 with DEC Fortran compiler V3.3-342:
      program ex
      implicit none
      real*8 fi,ans /0.0/
      integer i
      do i=1,100000
         fi=float(i)
         ans=ans+((0.5**fi)/(fi**1.5))
      enddo
      write (6,*) ans
      stop
      end
Running under OSF1.3 is about 4 times slower than on a DEC Station 5000/150
with Ultrix V4.3. I would have expected the opposite to be the case based
on past benchmarks. Exactly the same thing happens when the equivalent C
code is used, making me suspect that the coding for exponentiation in the
C library is woefully slow. Has anybody else noticed this and more
specifically does DEC have a fix for this?

===========================================================================
| Bill Alford,                            | Email: Bill.Alford@anu.edu.au |
| School Computer Unit,                   |     or bill@rsphys.anu.edu.au |
| Research School of Physical Sciences    | Tel: 61 6 249 2143            |
|     and Engineering,                    | Fax: 61 6 249 1884            |
| Australian National University,         |   N    ,-_|\                  |
| Canberra City, ACT 0200                 | W + E / OZ  \                 |
| Australia                               |   S   \_,-._*<-- Canberra     |
|                                         |            v     [35S, 149E]  |
|                            O, what a journey of Discovery we are on ... |
===========================================================================


             reply	other threads:[~1994-01-20  5:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-20  5:07 Bill Alford [this message]
1994-01-31 23:26 ` Woeful Fortran execution timing on Alpha OSF1.3 Bill Alford
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