MPI: Limit scope of an internal variable.