Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: to any fortran developers: one thing that needs to be done
Date: Wed, 15 Jul 1998 07:30:15 +0000	[thread overview]
Message-ID: <35AC5A87.E952922C@paralleldata.com> (raw)
In-Reply-To: 199807141225.HAA00103@ocean.otr.usm.edu

Eric Hilton Jones wrote:
> 
>   Our school is migrating from an old risc 6000 ibm machine to a
> multiprocessor digital alpha machine and (god forbid) bunches of new NT
> machines because they consider linux to be just "too security prone."
>   I have some ancient code here for maximum entropy calculations which
> compiles fine on the ibm and gives excellent results in quadruple
> precision. However, the code blows up after a few iterations when compiled
> with the DU compiler. Note that there are lots of matrix operations that
> consist of "bigfrikkinnumber - really really small number", and error
> accrues rather quickly at other precisions.
>   So, what needs to be done? _Please_ work on an aftermarket quadruple
> precision compiler for the alpha.
> 

If you have the source, I found some long precision C
routines on netlib. Might be able to switch to those??

Check the archives from the past month or so.

One other thing. You probably know this but I usually
order my arithmetic to collect as many small exponent
numbers together as possible before adding/subtracting
it from a 'large' (exponent wise) number. Keeps an 
algorithm more stable usually. Haven't had to use
larger than real*8 for stuff I work on but then
again, I'm working on signal processing in the
Seismic industry and only a few of the algorithms
have this problem. Course, this is also one of
the reasons you pay a vendor for their work.
I just scanned the DEC Visual FORTRAN info and
it appears there is no support for REAL*16.
The DEC UNIX FORTRAN compiler mentions support
for REAL*16. So, you might install DEC UNIX or
you may need to keep that old RS/6000 around
if you can't modify the code to work at REAL*8.

Just found a subroutine library for Visual FORTRAN
at:

http://www.ozemail.com.au/~milleraj/quad/quad_df.f90

It's F90 though, not F77.

Good luck.


Wes


      parent reply	other threads:[~1998-07-15  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-14 12:25 to any fortran developers: one thing that needs to be done Eric Hilton Jones
1998-07-14 13:16 ` Paul Tomblin
1998-07-15  7:30 ` Wes Bauske [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