Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

stop program execution if NAN

Bernie_B_
Beginner
715 Views
When running the Nasa overflow program we want to stop the execution if the program gets NANs. We are using Intel 11.1. I am looking for a compiler option that will do this.

Bernie
0 Kudos
1 Reply
Steven_L_Intel1
Employee
715 Views
-fpe0 will usually do this, but it depends on where the NaN comes from.
0 Kudos
Reply