Skip to content

Fix issue with PETSc that has METIS but no ParMETIS #2036

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

Merged
merged 2 commits into from
Feb 16, 2019

Conversation

jwpeterson
Copy link
Member

We previously assumed the former implied the latter, but that is not always the case.

The basic idea is that we don't want to mix building our own
METIS and using PETSc's ParMETIS. The different possibilities are:

                       | Parmetis in PETSc?
                       |   yes  |    no
                   ----------------------
                   yes |    A   |    B
METIS in PETSc?    ----------------------
                   no  |    C   |    D

A: PETSc was built with both METIS and ParMETIS support. In this case,
   we use both from PETSc.
B: PETSc is built with METIS support but no ParMETIS support. In this
   case, we use the METIS support and disable ParMETIS.
C: PETSc is built with no METIS support, but does have ParMETIS. I'm not
   sure this is really possible, but in this case, we would build our
   own METIS and disable ParMETIS support just to avoid mixing them.
D: PETSc is built with neither METIS nor ParMETIS support. In this case,
   we build both on our own.
@jwpeterson
Copy link
Member Author

This should be cherry-picked onto the v1.4.0 branch (#2029).

@jwpeterson jwpeterson merged commit 4921253 into libMesh:master Feb 16, 2019
@jwpeterson jwpeterson deleted the petsc_no_parmetis branch February 16, 2019 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant