(j3.2006) DEALLOCATE and image control
Malcolm Cohen
malcolm
Fri Apr 4 02:25:08 EDT 2014
>While thinking about this, and having found 6.7.3.2p8, I started
>wondering the order in which allocatable components of allocatable
>objects are deallocated. It should be specified,
It is specified. It is processor dependent. 6.7.3.1p4.
> perhaps "in component order."
No.
> If there are, say, two allocatable coarray components, and one
>image deallocates them in one order, while another one deallocates in
>another order, deadlock results.
Well the processor had better not do that then. For that matter
DEALLOCATE(coarray1,coarray2)
had better not deadlock (no allocatable components in sight here).
Cheers,
--
................................Malcolm Cohen, Nihon NAG, Tokyo.
More information about the J3
mailing list