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

boost_mpi tries to find the C++ MPI API #61

Open
aminiussi opened this issue Jul 13, 2022 · 1 comment
Open

boost_mpi tries to find the C++ MPI API #61

aminiussi opened this issue Jul 13, 2022 · 1 comment

Comments

@aminiussi
Copy link
Member

boost_mpi is only based on the C MPI API. Yet the the generated cmake code tries to import the C++ API, bringing in more stuff than necessary. Along with the associated problems:

CMake Error in /ccc/work/cont003/gen7233/miniussa/views/fargo/fargOCA/icc/rel/CMakeFiles/CMakeTmp/CMakeLists.txt:
  Imported target "MPI::MPI_CXX" includes non-existent path
@pdimov
Copy link
Member

pdimov commented Jul 13, 2022

MPI_CXX is not the C++ API. See https://cmake.org/cmake/help/latest/module/FindMPI.html:

The difference between CXX and MPICXX is that CXX refers to the MPI C API being usable from C++, whereas MPICXX refers to the MPI-2 C++ API that was removed again in MPI-3.

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