From: shoppa@almach.caltech.edu (TIMOTHY D. SHOPPA)
Subject: Re: Public Domain Math Libraries on the Alpha
Date: 26 Aug 1993 17:25 PST [thread overview]
Message-ID: <26AUG199317253181@almach.caltech.edu> (raw)
In-Reply-To: 15155810@MVB.SAIC.COM
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)
prev parent reply other threads:[~1993-08-27 1:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-08-26 20:44 Public Domain Math Libraries on the Alpha Karl Rudnick
1993-08-27 1:25 ` TIMOTHY D. SHOPPA [this message]
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