I am trying to port a fortran program from SGI Unix to Linux using ifc6.0. The program runs fine on the SGI. It compiles on linux but gives error while running. From my investigations, it seems that while running a (mesh) data file, it reads some numbers incorrectly. Due to this, some of the calculations result with NaN. How ever as the ifc guide says, the program continues, and at a later stage gives an error in convergence in one of the loops. Is there a way to detect where the NaN is generated?
For more complete information about compiler optimizations, see our Optimization Notice.