Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redefinition of MPI_VERSION #8

Open
devreal opened this issue Aug 21, 2018 · 1 comment
Open

Redefinition of MPI_VERSION #8

devreal opened this issue Aug 21, 2018 · 1 comment

Comments

@devreal
Copy link

devreal commented Aug 21, 2018

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
@rschoene
Copy link
Member

rschoene commented Aug 21, 2018

I assume that's due to that is due to

target_compile_definitions(x86_energy_sync_plugin PRIVATE MPI_VERSION)

@AndreasGocht can you confirm
@devreal can you try without?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants