[mpich-discuss] Patch for MPE2 1.3.0 on MPI 3.0 implementations

Jeremiah Willcock jewillco at osl.iu.edu
Thu Mar 28 18:38:58 CDT 2013


On Thu, 28 Mar 2013, Jeremiah Willcock wrote:

> Because of the addition of const to many function parameters, the logging and 
> tracing parts of MPE2 1.3.0 will not compile with an implementation of MPI 3 
> such as the newest versions of MPICH and MVAPICH.  I have attached a patch to 
> fix that.  The main issue with it is that it would break compatibility with 
> MPI 2.* implementations that do not have the extra const modifiers; a version 
> of it to put into the MPE release would probably need a macro for the 
> newly-added consts that can enable them selectively.  However, the patch 
> provided is likely to work for users who have this issue.

It looks like a production-grade version of this is/was in the MPICH 
source tree at one time (see 
http://trac.mpich.org/projects/mpich/changeset/96bed1bda731799a15c4c8ab093ba5a73508ff0f/src/mpe2/src/wrappers/src/log_mpi_core.c, 
for example), but does not appear to be in the latest MPE release now that 
it is not included in MPICH.

-- Jeremiah Willcock



More information about the discuss mailing list