[MPI3 Fortran] MPI Fortran bindings
Jim Xia
jimxia at ca.ibm.com
Fri Jun 5 14:20:02 CDT 2009
> INTENT doesn't help with non-contiguous buffers.
There is a subtle difference an intent can make: INTENT(IN) will suppress
copy-out if copying has to be made by the compiler.
> In this context,
> it's mostly a documentation thing, though a compiler can detect some
> problems if there's an intent conflict (for example, passing an
> INTENT(IN) argument to an INTENT(OUT) argument.
This is a positive side of specifying INTENT. The flip side, however, is
that to get the right intent might be tricker than it looks.
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://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20090605/01812e75/attachment-0001.html>
More information about the mpiwg-fortran
mailing list