is CRITICAL supported in 12.0 or 12.1?

is CRITICAL supported in 12.0 or 12.1?

Bild des Benutzers Anton S.

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

6 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Steve Lionel (Intel)

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.

Steve
Bild des Benutzers Anton S.

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>

Bild des Benutzers Anton S.

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.

Bild des Benutzers Steve Lionel (Intel)

Thanks - I can reproduce the diagnostic.

Steve
Bild des Benutzers Steve Lionel (Intel)

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

Steve

Melden Sie sich an, um einen Kommentar zu hinterlassen.