Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert from GitHub METIS/ParMETIS distributions to PETSc forks #170

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

sebastiangrimberg
Copy link
Contributor

@sebastiangrimberg sebastiangrimberg commented Jan 10, 2024

There seem to be a number of issues with the recent GitHub repositories for METIS and ParMETIS published by KarypisLab. See the following and the issues referencing them:

In particular, some breaking changes have not been propagated correctly to downstream dependencies which leads to unanticipated behavior or breakage (MUMPS, SuperLU_DIST, and STRUMPACK all use METIS reordering). The consensus seems that package managers are sticking with the old v5.1.0 of METIS.

This PR reverts the METIS/ParMETIS builds to use the same versions used by PETSc:

These include a number of patches (KarypisLab/METIS#6) and are widely tested to give Palace users more confidence. We also include a couple of minor patches on top of the PETSc forks to silence compiler warnings, including updating the minimum CMake version, fixing ambiguous indentation issues, resolving a bug where abs was called instead of fabs for a floating point argument, and fixing a potential buffer overrun in file IO.

…tches and resolutions with recent version bugs
@sebastiangrimberg sebastiangrimberg added build Related to building ci Related to continuous integration (CI) and/or GitHub Actions labels Jan 10, 2024
@sebastiangrimberg sebastiangrimberg merged commit 6bb2317 into main Jan 10, 2024
17 checks passed
@sebastiangrimberg sebastiangrimberg deleted the sjg/metis-build-dev branch January 10, 2024 20:47
mkandes added a commit to sdsc/spack that referenced this pull request Oct 3, 2024
Note, however, the Spack package for metis (and parmetis) needs to be
updated to use the latest patched versions of [email protected] from the PETSc
project's fork for a number of reasons [1].

[1] awslabs/palace#170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building ci Related to continuous integration (CI) and/or GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant