(j3.2006) a question on cobounds
Jim Xia
jimxia
Mon Jul 27 13:46:49 EDT 2009
> > subroutine foo (n)
> > integer, intent(in) :: n
> > integer W(n)[*] !<-- we made it
clear
> > this is not allowed
> > * integer, save :: U(10)[N,*] !<-- but do we intend to
allow
> > this? I have difficulties in finding constraints/rules that forbid
this*
> >
>
> This is allowed. The array U has the same size on all images, and the
> size is known at compile time. The [N,*] only affects how the image
> numbers are computed in references within the subroutine. This case is
> discussed at [92:24-26].
Are different N values on different images allowed?
Cheers,
Jim Xia
XL Fortran Compiler Test
IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7
Phone (905) 413-3444 Tie-line 313-3444
email: jimxia at ca.ibm.com
D2/YF7/8200 /MKM
http://www.ibm.com/software/awdtools/fortran/xlfortran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://j3-fortran.org/pipermail/j3/attachments/20090727/dad6d145/attachment.html
More information about the J3
mailing list