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

Rolf Rabenseifner rabenseifner at hlrs.de
Sat Aug 25 02:00:41 CDT 2012


> However, forbidding it being done everywhere isn't a major restriction.

Yes, this was decided already in MPI-1.

----- Original Message -----
> From: "N.M. Maclaren" <nmm1 at cam.ac.uk>
> To: "Main MPI Forum mailing list" <mpi-forum at lists.mpi-forum.org>
> Sent: Saturday, August 25, 2012 12:29:39 AM
> Subject: Re: [Mpi-forum] Reserved MPI_ prefix & namespace in C and Fortran
> On Aug 24 2012, Jeremiah Willcock wrote:
> >
> >Forbidding use as a local name is important if you want to use that
> >name
> >as a macro in C or C++ (or Fortran with a CPP-like preprocessor).
> >Thus,
> >it might make sense to do that for at least some names as well, at
> >least
> >for the C and mpif.h bindings.
> 
> It is needed only in a translation unit (C) or program unit (Fortran)
> where a MPI module is used or a MPI header is included. There is no
> neeed to restrict it in other parts of the code.
> 
> However, forbidding it being done everywhere isn't a major
> restriction.
> 
> 
> Regards,
> Nick Maclaren.
> 
> _______________________________________________
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
> http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum

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