Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Wrong iostat for End-Of-File in read statement for a coarray image greater than one

$
0
0

Hi,

I think I've found a bug in the new ifort version 14.0.0 related to coarrays.

If an EOF is encountered by an image greater than the 1st one during a read statement with the iostat argument provided, then the value stored in the iostat variable is sometimes 781 instead of 1.
A simple workaround is to treats the 781 value as an EOF status using: if ( ios == 781 ) exit


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>