[MPIWG Fortran] F08 and pair types?

Craig Rasmusen rasmus at cas.uoregon.edu
Tue Dec 8 11:19:12 CST 2015


Fortran is a modern language?  Wut...

Actually seems like a simple and good change.  For example, could define:

MPI_REAL_INT and MPI_INTEGER_INT

However, I'm not sure what would be in the structs (user-defined types).
I'll have to ask Squyres what the text following

"The datatype MPI_FLOAT_INT is as if defined by the following sequence of
instructions"

means.

-craig

On Mon, Dec 7, 2015 at 4:20 PM, Jeff Hammond <jeff.science at gmail.com> wrote:

> I have a reasonable understanding of why the legacy Fortran bindings use
> 2REAL, 2DOUBLE_PRECISION and 2INTEGER with {MAX,MIN}LOC reductions.
>
> Doesn't modern Fortran provide a way to create struct-like things along
> the lines of C, such that more appropriate pair types could be used for
> these?
>
> The relevant text is section 5.9.4 of MPI 3.1.
>
> Jeff
>
> --
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/
>
> _______________________________________________
> mpiwg-fortran mailing list
> mpiwg-fortran at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpiwg-fortran
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20151208/7b97fdf4/attachment-0001.html>


More information about the mpiwg-fortran mailing list