Skip to content

Consider FindMPI #535

Description

@bobpaw

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions