From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f31b685358d50b95 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-26 19:35:31 PST Path: gmd.de!rrz.uni-koeln.de!unidui!math.fu-berlin.de!news.rrz.uni-hamburg.de!news.dkrz.de!dscomsa!dxcern!mcsun!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!almach.caltech.edu!shoppa From: shoppa@almach.caltech.edu (TIMOTHY D. SHOPPA) Newsgroups: comp.sys.dec Subject: Re: Public Domain Math Libraries on the Alpha Date: 26 Aug 1993 17:25 PST Organization: California Institute of Technology Distribution: world Message-ID: <26AUG199317253181@almach.caltech.edu> References: <15155810@MVB.SAIC.COM> NNTP-Posting-Host: almach.caltech.edu Keywords: IEEE, Linpack, Minpack News-Software: VAX/VMS VNEWS 1.41 In article <15155810@MVB.SAIC.COM>, khr@hp700.trg.saic.com writes... >I would like advice that anyone might have to offer on compiling the public >domain libraries Linpack, Minpack and IEEE signal processing routines on >an Alpha. Has anyone determined best constants for I1MACH, R1MACH, etc.? >A related question is: if you use the machine constants set for a VAX VMS >machine, should you encounter any problems? > >Thanks in advance > >Karl Rudnick > It's been a while since I've used Linpack; lately I've been using the newer package Lapack, which seems to me to be more modern. Perhaps someone else can comment on the one vs. other. I compiled Lapack (from the tar file at research.att.com, available by anonymous ftp) for our OSF/1.2 Alpha with no problems at all. If you build from the sources in the tar file according to their instructions, one of the first tasks is to run a program that determines the machine constants. In the case of the Alpha, it's about as simple as can be: the floating point adheres to the IEEE standard. (I believe it can also convert to and from VAX-format floating point formats, but I think all math is done in IEEE.) Using the constants intended for a VAX VMS machine will probably be OK for a while, but will eventually cause you trouble. In particular, "D-Float" double on the VAX is quite a bit different than IEEE double. "G-Float" double is more comparable to IEEE, but the machine constants are not quite identical. Use the IEEE constants, or even better use the Lapack programs testslamch and testdlamch to determine the constants. On a similar topic, does anyone know of a public domain BLAS that gives higher performance on the Alpha than the "plain vanilla" Fortran BLAS? Tim (shoppa@almach.caltech.edu)