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

William Gropp wgropp at illinois.edu
Sun Aug 26 09:28:22 CDT 2012


I would use "must" instead of "should", esp in reference to the PMPI interface.  I'd also reserve all PMPI and MPI names, not just the function/subroutines for PMPI.  The intent was always that users avoid these two prefixes for any use; anyone who used them was courting trouble.

Bill

William Gropp
Director, Parallel Computing Institute
Deputy Director for Research
Institute for Advanced Computing Applications and Technologies
Paul and Cynthia Saylor Professor of Computer Science
University of Illinois Urbana-Champaign



On Aug 26, 2012, at 9:03 AM, Rolf Rabenseifner wrote:

> 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)
> _______________________________________________
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum





More information about the mpi-forum mailing list