[Mpi-forum] MPI_Pcontrol const argument
wgropp at illinois.edu
Thu Apr 6 09:48:31 CDT 2017
There is no rationale, other than that this is an IN argument and hence is unchanged. Of course, declaring it as const achieves nothing new. I think it was just a rote application of that rule, to a routine that is rarely used.
Acting Director and Chief Scientist, NCSA
Director, Parallel Computing Institute
Thomas M. Siebel Chair in Computer Science
University of Illinois Urbana-Champaign
> On Apr 6, 2017, at 9:42 AM, Jim Dinan <james.dinan at gmail.com> wrote:
> Hi All,
> I apologize if this is a dumb question -- what's the rationale for the const qualifier on the level argument to MPI_Pcontrol?
> int MPI_Pcontrol(const int level, ...)
> mpi-forum mailing list
> mpi-forum at lists.mpi-forum.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mpi-forum