What was the idea behind defining the C interface for MPI_Pcontrol as,
MPI_Pcontrol(const int level, …)
Adding the const was a joke, right? It’s completely meaningless.
Btw: all those that are worried about compilers compliant with the const keyword, here you go. We have const in the mpi.h header from MPI v1. The mpi C/C++ compilers are able to handle that keyword.
Thanks,
.Erez