From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,770d09ab025f2ec9,start X-Google-Attributes: gid111c93,public From: noe@physik.unizh.ch (Norbert Paschedag) Subject: DU <--> Linux FP exceptions with DU binaries Date: 1999/01/19 Message-ID: <781meq$12mi@rzurs10.unizh.ch>#1/1 X-Deja-AN: 434357639 X-NNTP-Posting-Host: 130.60.68.60 X-Trace: 19 Jan 1999 11:23:24 +0100, 130.60.68.60 Organization: University of Zurich Newsgroups: comp.os.linux.alpha Hi, I have a question for the more experienced Fortran users : We're trying to run DU binaries (Dec F90) on our Linux machines. Under both Digital UNIX and Linux we experience floating point exceptions which appear due to FP underflows etc. Under Digital UNIX we can prevent these exceptions by using flags like '-fpe1' for compilation and the binaries will run happily. Under Linux, however, the exact same binaries still die with 'floating point exceptions'. Could anyone please explain - How exactly FP exceptions are handled by those operating systems ( I understand that this is something the kernel does ). - How to install exceptions handlers that work under both Linux and DU. Would one need to change the Linux kernel for this ? Thanks ! Regards, Norbert Paschedag