From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6081 invoked from network); 9 Jul 1998 21:35:57 -0000 Received: from smtp.paralleldata.com (HELO paralleldata.com) (38.153.145.2) by mail2.redhat.com with SMTP; 9 Jul 1998 21:35:57 -0000 Received: by paralleldata.com from localhost (router,SLMail V2.5); Thu, 09 Jul 1998 16:36:40 -0500 Received: by paralleldata.com from paralleldata.com (208.252.119.65::mail daemon; unverified,SLMail V2.5); Thu, 09 Jul 1998 16:36:38 -0500 Sender: "Wsb" Message-ID: <35A537D3.D36E7AC9@paralleldata.com> Date: Thu, 09 Jul 1998 21:36:19 +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: PovRay References: <199807091837.OAA23474@horizon.ess.sunysb.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Aakin Patel wrote: > > > > > Aakin Patel wrote: > > > > > > > > > > > Aakin Patel wrote: > > > > > > > > > > Hello. > > > > > > > > > > MY alpha has this overwhelming tendency to have floating point exceptions > > > > > in Povray, as well as with a few other heavy math operations. Has anyone > > > > > else experienced something similar to this, and if they have, do they have > > > > > any ideas as to what may be causing the problem? > > > > > > > > Try adding -mieee to the compile flags. > > > > > > > > Dave > > > > > > I compiled it with -mieee originally. That isn't the problem, as far as i > > > can tell. > > > > Thought the previous discussion said the kernel level can make > > a difference on how well fp exceptions work. > > > > > > Hmm. From what I've noticed, the program crashes with the flag, as well as > without, which is what lead me to think that isn't the problem.. I not > really sure, though. If you have a suggestion, I'm willing to try it. > When I get FPE's on my own code, I run it in gdb and see what array is screwed up and fix it... Most FPE's are not normal parts of an algorithm. Underflows are the only exception I've found in my own codes that are expected. If your povray run isn't too big, might try gdb and see what got screwed up. From what I can tell, by default, underflows are handled in HW. You use -mieee to insert suffixes and trapb's on/around instructions with possible error situations. Then, the kernel gets control and fixes it up. Someone with more compiler knowledge is welcome to correct me if I'm mis-stating what is going on. If you're using RH5.0, and you can make a tarball of the povray program and your input to it, I can run it on my PC164lx and see what's wrong. Actually, a tarball of povray source and your test case, if not too big would work better. Send it off line though. Wes