Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: "T. Daniel Crawford" <crawdad@vt.edu>, axp-list@redhat.com
Subject: Re: compiling kernel 2.4.3
Date: Mon, 23 Apr 2001 13:59:37 -0400	[thread overview]
Message-ID: <3AE46D89.D21E5658@voicenet.com> (raw)
In-Reply-To: Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu

What I have very little of is "influence".

All ( most ) denormal processing is done via software inside the kernel, as the
FPU cant handle the operations at all.  An expensive (timewise) deal, but u get
to continue with the algorithmic operations.

The original problem was with a divide by a denorm. This appears to be fixed for
the 2.4.3 kern

the next problem was the conversion of a single precision denorm into a double
This should always work, but comes out as zero.  I had a fix, but didn't reach
the rite folks

After that was the conversion of a large float/double  into an integer/long. It
doesn't appear to up to ieee754 standards, but have no manual ( nor want to get
it for $$$$ )

/gat

If u got the numbers which look like fortran #'s (  :-} )  and can produce these
nums( terms of the equation  )  in hexadecimal, then one can play in "C" to see
where the issue is. I no longer have a DU/true64 box to play with to see where
the number diverge though :-/

"T. Daniel Crawford" wrote:

> On Mon, 23 Apr 2001, Uncle George wrote:
>
> > What would be the latest stable 2.4.x for mass consumption. I would like to
> > correct the FP denormal problems in the alpha/linux box's.
> > /gat
> >
> > OR where is ac12
> >
>
> Hi, George,
>
> I'm a participant in the axp-list and I know you've got some experience
> with dealing with FPE's under Alpha/Linux.  The timing of your message
> above was just right as I've been fretting over some problems associated
> with denormalized number exceptions on my alpha systems.  I've found
> that, for very large calculations (I do numerically intensive stuff),
> I get occasional and inconsistent FPE with the message:
>
> forrtl (65): floating invalid
>
> I was able to track one of the problems to some code that looks like:
>
> f(m+i) = f(i)-f(m+i)*f(m3+i)*aka
>
> The numbers here are, in some instances, very, very, very small. E.g.,
> where the FPE occurs:
>
> f(m+i) = 4.841908917496239e-313
> f(m3+i) = -0.0001012220986496004
> aka = 0.2
> f(i) = 1.522672654296015e-13
>
> The term f(m+i) looks like it might be denorm, but I'm new to this sort
> of thing.  I also found that the error doesn't occur at all under Tru64
> with the same hardware.
>
> My questions for you:
>
> (1) What is the nature of this problem under Alpha Linux?
>
> (2) What is the status of efforts to correct it, if any?
>
> (3) Finally, do you have any snippets of problematic code that I might be
> able to use to trace the problem further?  My codes are all far too large
> to be useful for debugging.
>
> Thanks for your time!
>
> -Daniel
>
> --
> T. Daniel Crawford                           Department of Chemistry
> crawdad@vt.edu                                    Virginia Tech
> www.chem.vt.edu/chem-dept/crawford    Voice: 540-231-7760  FAX: 540-231-3255
>                             --------------------
>  PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt




       reply	other threads:[~2001-04-23 17:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu>
2001-04-23 17:59 ` Uncle George [this message]
2001-04-23 18:11   ` compiling kernel 2.4.3 T. Daniel Crawford
2001-04-23 18:52     ` Uncle George
2001-05-01  3:23       ` FP Exceptions T. Daniel Crawford
2001-05-01  5:30         ` Greg Lindahl
2001-05-01 10:56         ` Uncle George
2001-05-01 11:52           ` T. Daniel Crawford
2001-05-01 12:23             ` Uncle George
2001-05-01 12:26               ` T. Daniel Crawford
2001-05-01 13:03                 ` Uncle George
2001-05-02 12:10                 ` Uncle George
2001-04-22 15:17 compiling kernel 2.4.3 Ingo T. Storm
  -- strict thread matches above, loose matches on Subject: below --
2001-04-22 13:03 Kenneth Dunn
2001-04-22 13:00 ` John Jasen
2001-04-22 17:11 ` Michal Jaegermann
2001-04-23 15:02   ` Uncle George
2001-04-23 18:34     ` John Jasen
2001-04-23 18:50       ` T. Daniel Crawford
2001-04-23 18:54         ` Uncle George
2001-04-23 18:57           ` T. Daniel Crawford
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