Skip to content

Consider FindMPI #535

@bobpaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions