When creating downstream projects that use PUMI, I regularly include the following lines:
find_package(MPI REQUIRED)
find_package(SCOREC 4 REQUIRED)
target_link_libraries(SCOREC::pcu INTERFACE MPI::MPI_CXX)
PUMI should consider using FindMPI instead of requiring -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx:
https://cmake.org/cmake/help/latest/module/FindMPI.html
Or other clarify why it does not work.
When creating downstream projects that use PUMI, I regularly include the following lines:
PUMI should consider using FindMPI instead of requiring
-DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx:https://cmake.org/cmake/help/latest/module/FindMPI.html
Or other clarify why it does not work.