(j3.2006) (SC22WG5.5235) [ukfortran] Ballot on draft DTS

Malcolm Cohen malcolm
Sun Apr 20 20:31:35 EDT 2014


On Apr 15, 2014, at 12:35 AM, Malcolm Cohen <malcolm at nag-j.co.jp> wrote:
> In particular,
> (1) the collectives CO MAX, CO MIN, CO REDUCE, CO SUM, should be split into 
> two
> forms, one with RESULT, one without.  The one with RESULT should have SOURCE 
> as
> INTENT(IN), the one without should have SOURCE as INTENT(INOUT).  RESULT must
> not be optional.  The SOURCE INTENT(IN) form should have no coarray 
> restrictions
> on SOURCE.

Bill Long contended:
>Currently there are no coarray restrictions on SOURCE (with or without a 
>RESULT).

That is not what N2007 says, it has

  "If the SOURCE or RESULT argument to a collective subroutine is a whole 
coarray the corresponding ultimate arguments on all images of the current team 
shall be corresponding coarrays as described in 2.4.7 of ISO/IEC 1539-1:2010."

Clearly this only makes sense for the result argument (note lower case).

Cheers,
-- 
................................Malcolm Cohen, Nihon NAG, Tokyo. 




More information about the J3 mailing list