is CRITICAL supported in 12.0 or 12.1?

is CRITICAL supported in 12.0 or 12.1?

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]

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



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

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.

Retired 12/31/2016

bigblue3> cat z.f90
program z
implicit none


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]
bigblue3> ifort --version
ifort (IFORT) 12.0.2 20110112
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.


Sorry, just to clarify, the small program above does *not* hang.

This is just to show the compiler diagnostics.

I'm working on reducing the size of the hanging code.

Thanks - I can reproduce the diagnostic.

Retired 12/31/2016

The diagnostic issue has been fixed for a release later this year.

Retired 12/31/2016

Leave a Comment

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