Skip to content

PetSC source compilation and CMake detection #1

Description

@abhinavsns

Currently, OpenFPM uses find_package(PETSc) for PETSc detection, this is not ideal because the corresponding CMake module findPETSc.cmake is deprecated.
Further, a lot of options in script/install_PETSC.sh are no longer used.

A potential solution is to move to pkg-config. This is recommended by petsc-dev: https://www.mail-archive.com/petsc-dev@mcs.anl.gov/msg28259.html

Example implementation using pkg-config can be found at: https://stackoverflow.com/a/67885007

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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