Re: [Mpi-forum] Reserved MPI_ prefix & namespace in C and Fortran
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" <[email protected]> To: "Main MPI Forum mailing list" <[email protected]> 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 [email protected] http://lists.mpi-forum.org/mailman/listinfo.cgi/mpi-forum
-- Dr. Rolf Rabenseifner . . . . . . . . . .. email [email protected] 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)
participants (1)
-
Rolf Rabenseifner