[MPI3 Fortran] Results of recent J3 Fortran meeting
N.M. Maclaren
nmm1 at cam.ac.uk
Thu Oct 21 12:13:31 CDT 2010
On Oct 21 2010, Bill Long wrote:
>
>I've lost track of the choice numbers, but if there is no need for
>characters other that C's char, then the simplest solution (for both the
>user and the TR) is to treat character arrays passed by descriptor like
>any other arrays passed by descriptor. The type would be char, and the
>dimension information (dim[] member) corresponds to the Fortran
>dimensions. The elem_len field contains the array element length.
>Because sizeof(char) is 1, the character length parameter is equal to
>the elem_len value, so the character len value is directly available.
It is also the least future-resistant, which is matter of considerable
concern.
Regards,
Nick Maclaren.
More information about the mpiwg-fortran
mailing list