Is there a way to abort a run on exception?
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Feb 25 15:22:00 GMT 2007
On Sun, Feb 25, 2007 at 12:14:08PM +0100, Dominique Dhumieres wrote:
> I would like to be able to compile (or set environment
> variables) a fortran program in such a way that the first
> exception (typically a NaN) abort the execution (possibly
> with a trace of where the exception occured). Is this possible?
>
See -ffpe-trap. Not sure if it works on your OS.
--
Steve
More information about the Fortran
mailing list