From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,95fe4742584fa162 X-Google-Attributes: gid1094ba,public X-Google-Thread: 111c93,95fe4742584fa162 X-Google-Attributes: gid111c93,public From: Peter Doering Subject: Re: Still Disappointing libcpml.a for Alpha/Linux Date: 1999/03/18 Message-ID: <36F0526F.CD4E9334@worldnet.att.net>#1/1 X-Deja-AN: 455943811 Content-Transfer-Encoding: 7bit References: <36EA0A2F.8E2E5413@sangdu.kjist.ac.kr> Content-Type: text/plain; charset=iso-8859-2 Organization: On the sunny side of life Mime-Version: 1.0 Reply-To: headroom@worldnet.att.net Newsgroups: comp.os.linux.alpha,comp.lang.fortran Hi Folks, I was just browsing though this newsgroup and thought I'll writ e little repy. I have compiled 2 raytracers with different opions, inluding different math and fastmath libraries. There is DEFINITELY a difference in speed between the -lffm -lfm -lm version and the -lcpml -lm version of linking (to the advantage of libcpml). I could not get the programs linked only using -lcpml because there seems to be a unresolved link to atan2, which is probably a bug in the cpml library. However, I still have one hopefully not to stupid question: do I still need the -mieee compiler switch ? PovRAY works just fine without it, allthoug this just works with libcpml, RADIANCE on the other hand needed -mieee in every combination I tried out and that was quite a lot (se http://radsite.lbl.gov for more info about RADIANCE). Once I have a little more time I will post some timing results. Regards, P. Doering NewsMan wrote: > > I went through the hassle of benchmarking the f77bench.tar.gz > > with libcpml.a in order to compare any possible improvement over > > libffm.a on Linux/Alpha (-O3 -ffast-math -funroll-loops -mcpu=21164a > > on LX-4 Samsung board with 128MB @533MHz). > > Below, the first column was obtained with > > Intel/Linux on P-II @ 400 Mhz using Absoft f77 version 4.4. > > The result for this part was made with the > > -O and -B100 compilation switches. > > APF77 g77libffm g77libcpml > > AC 16.72 47.23 24.45 > > ADI 11.10 16.31 16.39 > > AIR (NaN) 48.31 44.05 > > CHESS 54.47 51.34 51.23 > > DODUC 100.13 88.76 82.29 > > LM8 24.41 29.49 29.06 > > LP8 19.55 Alpha/Linux has a trouble due to the clock problem. > > MDB 13.19 12.36 12.37 > > MOLENRGY 57.88 60.75 60.92 > > PI 29.32 151.97 43.47 > > PNPOLY 13.43 16.97 16.84 > > RO 36.47 62.56 65.87 > > SM4 20.00 14.09 13.70 > > TFFT 54.47 50.79 58.13 > > WH4 44.68 45.76 41.84 > > All the timing numbers were obtained for "real" not for "user". > > Both Absoft compilers (f77/f90) have trouble with AIR.f > > Don't expect Absoft's f90 would give something similar to the above > > APF77 result. They should do some homework with their f90. > > Is Digital Fortran for Alpha/Linux still too far a way? When can such > > a thing see the light of the day? > > Best regards, > > G. Hugh Song > > -- > Newsman > > PS: Reply to ghsong "at" kjist "dot" ac "dot" kr, if you really have to.