[MPI3 Fortran] MPI buffer arguments - void and call-by-reference
N.M. Maclaren
nmm1 at cam.ac.uk
Mon Feb 9 17:27:19 CST 2009
On Feb 9 2009, Aleksandar Donev wrote:
>On Monday 09 February 2009 14:59, Rolf Rabenseifner wrote:
>
>> Meaning: Same as what currently done, i.e., call-by-reference
>> on the caller side, if call-by-reference is possible (i.e.,
>> not for non-contiguous subarrays)
>
>What if call-by-reference is not possible?
>How is this different from what is currently there and why is it useful
>enough over what is already there to warrant inclusion in the Fortran
>standard?
As I teach in my Fortran course, those are not the only two possible
options. Fortran permits Algol call-by-name (i.e. the mechanism used
for Jensen's device), for example.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1 at cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
More information about the mpiwg-fortran
mailing list