Fortran · Exception
What does forrtl 297 — Floating Invalid Traps Reported mean in Fortran?
Reports, at program termination, the total number of times the IEEE invalid-operation exception was trapped over the course of execution — each occurrence corresponds to an operation like SQRT of a negative number or 0/0 that the run-time intercepted rather than letting silently produce a NaN.
Reports, at program termination, the total number of times the IEEE invalid-operation exception was trapped over the course of execution — each occurrence corresponds to an operation like SQRT of a negative number or 0/0 that the run-time intercepted rather than letting silently produce a NaN.
A nonzero count means real bugs occurred somewhere in the run; rebuild with traceback enabled (-traceback / /traceback) and trapping set to stop on the first invalid operation instead of only reporting a tally, then fix the flagged expression.