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

program wrong but still running

chljl
Beginner
594 Views

I use intel fortran for linux. I found when my program got wrong it still was running and output a lot of "??????????????". I hope it could stop and tell me what is wrong and where it is. Is there any option could do this?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
594 Views
You are using Intel Fortran 7.1 or earlier, right? The ???? means a Not a Number (NaN). If you install and build with Intel Fortran 8.1 and use the -fpe0 option, it will probably give an error message when the NaN is generated. Add -traceback to the build to help narrow it down.
0 Kudos
Reply