From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ec81c2096e52508f,start X-Google-Attributes: gid1164f8,public From: "Richard J. Healy" Subject: F77 Compiler underflow question Date: 1999/03/23 Message-ID: <36F8146A.41C6@whoi.edu>#1/1 X-Deja-AN: 458150485 Content-Transfer-Encoding: 7bit Organization: Woods Hole Oceanographic Institution Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.sys.dec HELP I'm running on an Alpha using F77 and I'm getting an underflow error that causes my program to halt. Now, according to the f77 man page if I specify -fpe4 option the program will "continue [...] execution if a floating-point operation results in overflow, a division by zero, invalid data, or floating-point underflow...." However, this does not prevent the program from stopping. My other (relevant) options are -noerror_limit -fast. The error is occurring in the DEXP function for which a return value of 0 will suffice for the underflow. It is not practical to code in an error check myself as this is a large climate model and the error is bound to occur elsewhere. Any help appreciated. Thanks. -- Richard J. Healy rhealy@whoi.edu Marine Chemistry & Geochemistry MS 25 Voice Phone:(508) 289-3514 Woods Hole Oceanographic Institution Fax:(508) 457-2193 Woods Hole, MA 02543