[Mpi-forum] Reserved MPI_ prefix & namespace in C and Fortran

Rolf Rabenseifner rabenseifner at hlrs.de
Sun Aug 26 09:03:42 CDT 2012


I updated the ticket 343 with the now hopefully final text 
for the terms chapter
(after Bronis has moved the tools aspect to MPI-next), 
see
https://svn.mpi-forum.org/trac/mpi-forum-web/ticket/343
and the attached files.

I hope that now all can agree with this correction of the 
existing inconsisteny 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:

C:
>   "Programs must not declare
       names (identifiers), e.g., for variables, functions,
       constants, types, or macros, 
>    beginning with the prefix MPI_."

Fortran:
>   "Programs must not declare
       names, e.g., for variables, subroutines, functions, 
       parameters, derived types, abstract interfaces, or modules,
>    beginning with the prefix MPI_.

and for Fortran also "subroutines and functions" instead of 
only "functions" in the sentence about 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


----- Original Message -----
> On Sun, 26 Aug 2012, Bronis R. de Supinski wrote:
>
> I think we should defer the issue to MPI Next.
> 
> On Sun, 26 Aug 2012, Rolf Rabenseifner wrote:
> 
> > Hello Bronis, Kathryn, Dave,
> >
> > Do you agree with Martin's opinion and his suggested addition
> > for the tools chapter?
...

-- 
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