I cannot update from 12.0 and 12.1.
I have a coarray program that uses CRITICAL.
I get:
ifort -c -coarray -free -fPIC -warn all cgca_m2stat.f90
cgca_m2stat.f90(107): remark #7712: This variable has not been used. [CG_$1_mtx]
critical
^
At runtime the program seems to hang at CRITICAL, but not always. With 8 or 27 images it seems to work, and with 64 images it hangs.
Please advise
Thanks
Anton
链接已复制
5 回复数
It is supposed to be supported. Can you provide a small test program that demonstrates that unused diagnostic? I'd like to track that down, though it should not impact the code. A program that demonstrates the hang would also be useful. Coarray support improved in 13.0.
bigblue3> cat z.f90
program z
implicit none
critical
write (*,*) "image", this_image(), "doing critical section"
end critical
sync all
end program z
bigblue3> ifort -coarray -warn all z.f90
z.f90(4): remark #7712: This variable has not been used. [CG_$1_mtx]
critical
^
bigblue3>
bigblue3> ifort --version
ifort (IFORT) 12.0.2 20110112
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
bigblue3>