[Mpi-forum] Reserved MPI_ prefix & namespace in C and Fortran
Rolf Rabenseifner
rabenseifner at hlrs.de
Sun Aug 26 10:52:49 CDT 2012
I updated the ticket 343 with the now hopefully final text
for the terms chapter (after Bronis', Bill's and Martin's comments)
see
https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/343
and the files attached to the ticket.
I hope that now all can agree with this correction of the
existing inconsistency as detected in the public review
and discussed in the previous emails.
--------------------------------
Latest summary of the necessary MPI-2.2 erratum
in Sections 2.6.2 - 2.6.4 (modifications indented):
C:
> "Programs must not declare
names (identifiers), e.g., for variables, functions,
constants, types, or macros,
> beginning with the prefix MPI_.
> To support the profiling interface, programs
must
> not declare functions with names beginning with the prefix PMPI_."
Fortran:
> "Programs must not declare
names, e.g., for variables, subroutines, functions,
parameters, derived types, abstract interfaces, or modules,
> beginning with the prefix MPI_.
> To avoid conflicting with the profiling interface, programs
must
> also avoid
subroutines and
> functions with the prefix PMPI_."
C++ (not visible in MPI-3.0 due to removal of C++):
> "Programs must not declare
names (identifiers), e.g., for variables, functions,
constants, types, or macros,
> in the namespace MPI."
And change-log entry
Sections 2.6.2 and 2.6.3 on pages 18 and 19, and
MPI-2.2, Section 2.6.2 on page 17, lines 41-42,
Section 2.6.3 on page 18, lines 15-16, and
Section 2.6.4 on page 18, lines 40-41.
This is an MPI-2 erratum: The scope for the reserved prefix MPI_
and the C++ namespace MPI was extended to any name.
-------------------------------
Best regards
Rolf
--
Dr. Rolf Rabenseifner . . . . . . . . . .. email rabenseifner at hlrs.de
High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530
University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832
Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner
Nobelstr. 19, D-70550 Stuttgart, Germany . (Office: Allmandring 30)
More information about the mpi-forum
mailing list