Skip to content

FindPETSc tests fail with missing include <mpi.h> #32

@fsimonis

Description

@fsimonis

FindPETSc does not respect MPI include paths and therefore fails to compile the tests on systems with scoped mpi installs such as OpenMPI on Ubuntu 16.04 (/usr/include/openmpi/mpi.h)

It should include MPI_INCLUDE_DIRS, or similar here.

set (petsc_includes_minimal ${PETSC_INCLUDE_CONF} ${PETSC_INCLUDE_DIR})

A possible solution is to adapt FindPETSc to call FindMPI internally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions