This is the Score-P power and energy event plugin counter for newer Intel and AMD processors (via RAPL, resp. APM). The plugin supports reading msr registers directly or through the x86_adapt library.
MPICH defines the macro MPI_VERSION so the plugin should not:
In file included from /zhome/academic/HLRS/hlrs/hpcjschu/src/readex/scorep_plugin_x86_energy/src/x86_energy_sync_plugin.cpp:40:0:
/opt/cray/pe/mpt/7.7.1/gni/mpich-gnu/7.1/include/mpi.h:458:0: warning: "MPI_VERSION" redefined
#define MPI_VERSION 3
<command-line>:0:0: note: this is the location of the previous definition
MPICH defines the macro
MPI_VERSION
so the plugin should not: