Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Stopped image synchronization question

$
0
0

With IVF 16.0 Update 1, the following code will go in an infinite loop, suggesting that a STOPped image is SYNChronizable with any other (still running) image. Is this interpretation correct? I was initially thinking that the code would hang, since images>1 would not be able to SYNC with image 1.

PROGRAM P
IMPLICIT NONE
SYNC ALL
IF (THIS_IMAGE()==1) THEN
    STOP
END IF
DO
    SYNC ALL
    WRITE(*,*) 'Oops!'
END DO
END PROGRAM P

 


Viewing all articles
Browse latest Browse all 5691

Trending Articles



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