Is there a way to abort a run on exception?
Brooks Moses
brooks.moses@codesourcery.com
Sun Feb 25 18:41:00 GMT 2007
Steve Kargl wrote:
> On Sun, Feb 25, 2007 at 05:01:10PM +0100, Dominique Dhumieres wrote:
>>> 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
We really could stand to improve the error messages in these cases....
- Brooks
More information about the Fortran
mailing list