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

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

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

3 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

How amusing!  Thanks - reproduced and escalated as issue DPD200247915. I tested EOR and it was fine.

Steve - Intel Developer Support

This was fixed in Update 2.

Steve - Intel Developer Support

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!