[MPIWG Fortran] Another MPI_SIZEOF question
Jeff Squyres (jsquyres)
jsquyres at cisco.com
Tue Jun 10 09:41:06 CDT 2014
On Jun 10, 2014, at 10:10 AM, William Gropp <wgropp at illinois.edu> wrote:
> Jeff, as I noted before, in MPI-2, MPI_SIZEOF was not required for the Fortran "basic" support, thus MPI-2 did not break the existing practice with Fortran 77 compilers and the mpif.h include file (see the beginning of section 10.2.5 in MPI-2).
Sorry, you're right -- you even said this earlier in the thread. My mistake.
> The issue is deciding that mpif.h is not a way to compile MPI programs with a Fortran compiler that is for Fortran before 2008 + TS29113 but simply a different interface to the one true and only Fortran interface - which isn't even yet standard (since it requires TS29113).
Same question as I asked before: Is 2003 or 2008+TS29113 required for SIZEOF? I have no knowledge of when INTERFACE blocks were added to Fortran.
I'm asking this because DIMENSION(..) is *useful* to implement MPI_SIZEOF succinctly/easily, but it is not *required*.
--
Jeff Squyres
jsquyres at cisco.com
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/
More information about the mpiwg-fortran
mailing list