[MPIWG Fortran] Proposal: MPI_SIZEOF not profiled

N.M. Maclaren nmm1 at cam.ac.uk
Fri May 16 08:28:56 CDT 2014


On May 16 2014, Jeff Squyres (jsquyres) wrote:

>Fortran and Tools WGs:
>
> (=== this is a bit urgent if we want to get this read at the Chicago 
> meeting; the T-2 deadline is this upcoming Monday morning ===)
>
> We seem to have some measure of consensus on the other thread that 
> MPI_SIZEOF should not be profiled.
>
> Note, however, that the Tools chapter currently mandates that PMPI_ 
> versions of all MPI routines must be available (including, for example, 
> MPI_WTICK), but the MPI_ versions do not have to be replaceable at link 
> time. I propose adopting this convention for MPI_SIZEOF, too (i.e. we 
> have to provide PMPI_SIZEOF).
>
>Does this wording work as a proposal?

>From my viewpoint, yes.  MPI_Sizeof has never been an ordinary Fortran
function.  I don't know the latest polymorphic features well enough
to know whether it even CAN be implemented within the standard.  Indeed,
one reasonable way to implement it is by the mpif90 command running a
preprocessor on the source to replace it by the relevant value!


Regards,
Nick Maclaren.




More information about the mpiwg-fortran mailing list