(j3.2006) ASSOCIATE and DO CONCURRENT LOCAL
Bill Long
longb
Thu May 26 15:32:05 EDT 2016
A question came up about ASSOCIATE interacting with OpenMP, but the same concept applies to the new DO CONCURRENT enhancements. Suppose you have
A = 1
ASSOCIATE ( B => A )
DO CONCURRENT (i=1:1) LOCAL (B)
X = A ! B is undefined - does that cause A to be undefined as well?
B = 2 ! Does this cause A to change value?
END DO
END ASSOCIATE
print *, A, X
end
Are there words in the standard to cover this interaction?
Cheers,
Bill
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
More information about the J3
mailing list