From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a64bec55496ff76f,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-20 06:29:12 PST Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!munnari.oz.au!newshost.anu.edu.au!rsphys.anu.edu.au!bill From: bill@rsphys.anu.edu.au (Bill Alford) Newsgroups: comp.unix.osf.osf1 Subject: Woeful Fortran execution timing on Alpha OSF1.3 Date: 20 Jan 1994 05:07:57 GMT Organization: SCU, RSPhyScE, Australian National University, Canberra Distribution: world Message-ID: <2hl3je$774@manuel.anu.edu.au> Reply-To: bill@rsphys.anu.edu.au NNTP-Posting-Host: 150.203.15.106 X-Newsreader: mxrn 6.18-4 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 ... | ===========================================================================