Is there a way to abort a run on exception?
Steve Kargl
sgk@troutmask.apl.washington.edu
Sun Feb 25 17:58:00 GMT 2007
On Sun, Feb 25, 2007 at 05:01:10PM +0100, Dominique Dhumieres wrote:
> Thanks for the answer.
>
> > See -ffpe-trap. Not sure if it works on your OS.
>
> Unforunately you are right:
>
> [karma] lin/source% gfc -O1 -ffpe-trap fatigue.f90
> f951: error: unrecognized command line option "-ffpe-trap"
>
You need to RTFM.
laptop:kargl[208] gfc4x -o z -fopenmp -ffpe-trap o.f90
f951: error: unrecognized command line option "-ffpe-trap"
laptop:kargl[209] gfc4x -o z -fopenmp -ffpe-trap='invalid' o.f90
--
Steve
More information about the Fortran
mailing list