From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27151 invoked from network); 15 Jul 1998 07:27:45 -0000 Received: from smtp.paralleldata.com (HELO paralleldata.com) (38.153.145.2) by mail2.redhat.com with SMTP; 15 Jul 1998 07:27:45 -0000 Received: by paralleldata.com from localhost (router,SLMail V2.5); Wed, 15 Jul 1998 02:28:09 -0500 Received: by paralleldata.com from paralleldata.com (208.252.48.192::mail daemon; unverified,SLMail V2.5); Wed, 15 Jul 1998 02:28:07 -0500 Sender: "Wsb" Message-ID: <35AC5A87.E952922C@paralleldata.com> Date: Wed, 15 Jul 1998 07:30:15 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: to any fortran developers: one thing that needs to be done References: <199807141225.HAA00103@ocean.otr.usm.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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