(j3.2006) DEALLOCATE and image control

Malcolm Cohen malcolm
Fri Apr 4 02:25:08 EDT 2014

>While thinking about this, and having found, 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.

> perhaps "in component order."


>  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
had better not deadlock (no allocatable components in sight here).

................................Malcolm Cohen, Nihon NAG, Tokyo.

More information about the J3 mailing list