Jeff Hammond <jeff.scie...@gmail.com> writes: > You will find the MPI Fortran 2008 bindings to be significantly better > w.r.t. MPI types. See e.g. MPI 3.1 section 17.2.5 where it describes > TYPE(MPI_Status), which means that the status object is a first-class type > in the Fortran 2008 interface, rather than being an error prone INTEGER > array.
You might expect the f90 module to reveal the error anyway. Unfortunately which routines it covers depends on the compiler and OMPI versions in a way I don't understand -- can someone explain? For instance, it won't work with the RHEL6 system compiler (GCC 4.4), but OMPI 1.8 using GCC 4.9 will report the error with "use mpi". > I haven't used Fortran 2008 bindings in a nontrivial way yet, but it is my > understanding that Open-MPI has a good implementation of them and has for a > relatively long time. Unfortunately they won't be built if you use the system compiler on RHEL6 (which I'd guess is still be the most common HPC platform). Aren't they meant to address different problems with the subroutine signatures anyway? But strong typing is definitely good.