(j3.2006) co-array variable

Bill Long longb
Fri Jun 1 18:46:21 EDT 2007



Van Snyder wrote:

>On Thu, 2007-05-31 at 12:42 -0500, Bill Long wrote:
>  
>
>>
>>  The only thing new with co-arrays is that
>>the "agent not visible to the local execution context" could be a
>>definition of the variable by a different image. 
>>    
>>
>
>Should this require the co-array variable to have the VOLATILE
>attribute, or perhaps explicitly imply it?
>  
>

Just to be clear, co-array variables have the volatile attribute ONLY if 
it is specified.  Same as for any other variable.  The attribute is 
required only if the variable is being used in a way that violates the 
ref/def exclusion rules that apply to non-volatile variables within a 
segment.  In the vast majority of cases, co-arrays would not be given 
the volatile attribute.

Cheers,
Bill


-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20070601/75b47d12/attachment.html 



More information about the J3 mailing list