(j3.2006) (SC22WG5.4647) [ukfortran] AW: Vote on N1904
N.M. Maclaren
nmm1
Wed Mar 14 18:57:35 EDT 2012
On Mar 14 2012, Bader, Reinhold wrote:
>
>Rolf may be able to shed more light on this, so am putting him on CC here.
>In any case, it is not the purpose of MPI-3 to enable communication of
>data of types described below, so while I'm not convinced that loosening
>of the planned INTENT(OUT) prohibition is necessary, the below would
>certainly not impact MPI-3.
No, that wasn't my point.
It was that MPI receive buffers are a well-known example of where
output-only assumed-type arguments are needed. While there is no
difficulty in using INTENT(INOUT) or no INTENT, having to specify
something other than what you intend is poor software engineering.
There is no reasonable sense in which assumed-type is incompatible
with INTENT(OUT) as such. The only incompatibility is with some of
the semantic requirements that have been attached to INTENT(OUT) for
some types.
Regards,
Nick Maclaren.
More information about the J3
mailing list