Try guessing the ending value of I...

Try guessing the ending value of I...

       I=0
       IF(I.EQ.0) THEN I=1
       WRITE(6,*) I
       END

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Let me make an interesting suggestion here - put this code in a free-form source (.f90) file rather than fixed-form (.f or .for).

See Doctor Fortran in "Source Form Just Wants to be Free"

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today