[MPIWG Fortran] MPI_SIZEOF: Errata required (was: Another MPI_SIZEOF question)

N.M. Maclaren nmm1 at cam.ac.uk
Fri Jun 13 03:12:08 CDT 2014


On Jun 13 2014, Rolf Rabenseifner wrote:
>
>Only a remark on the impossibility of
>continuation lines in mpif.h:
>
>MPI-3.0 Errata from May 14, 2014, page 13, lines 38-43 tell:
>
>"In principle, continuation lines would be possible in mpif.h 
>(spaces in columns 73-131, & in column 132, and in column 6 
>of the continuation line) but this would not be valid if the
>source line length is extended with a compiler flag to 132
>characters. Column 133 is also not available for the 
>continuation character because lines longer than 132 
>characters are invalid with some compilers by default."

That's wrong in several respects.  Lines of other than EXACTLY
72 characters are invalid in fixed form, and ones of long than
132 in free form.  But, pragmatically, it's close enough to
what compilers do - however, it's also irrelevant.

The point is that ALL such mechanisms are outside the standard,
and always have been (even in Fortran 66).  Perhaps the sanest
way to resolve this is that the compilation command or compiler
modifies the search path for inclusions according to the source
form.  But there is almost always a mechanism.


Regards,
Nick Maclaren.





More information about the mpiwg-fortran mailing list