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

Build Trilinos with ParMETIS TPL #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

klevzoff
Copy link
Contributor

This PR configures Trilinos to build with METIS/ParMETIS, which enables using them as options in ML (as aggregation and coarse problem repartitioning methods).

The size of diff is due to moving Trilinos build below ParMETIS in CMakeLists.txt. The actual change is just a few lines.

I don't have a "merge vehicle" in GEOSX for this yet, so just opening the PR to keep track of the change.

@klevzoff klevzoff self-assigned this Aug 22, 2022
INSTALL_DIR ${TRILINOS_DIR}
BUILD_COMMAND ${TPL_BUILD_COMMAND}
INSTALL_COMMAND ${TPL_INSTALL_COMMAND}
DEPENDS parmetis metis
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change 1

Comment on lines +686 to +696
-DTPL_METIS_INCLUDE_DIRS:PATH=${METIS_DIR}/include
-DTPL_METIS_LIBRARIES:PATH=${METIS_DIR}/lib/libmetis.a
-DTPL_ParMETIS_INCLUDE_DIRS:PATH=${PARMETIS_DIR}/include
-DTPL_ParMETIS_LIBRARIES:PATH=${PARMETIS_DIR}/lib/libparmetis.a;${METIS_DIR}/lib/libmetis.a
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change 2

Comment on lines +701 to +709
-D TPL_ENABLE_METIS:BOOL=ON
-D TPL_ENABLE_ParMETIS:BOOL=ON
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change 3

@XL64
Copy link
Contributor

XL64 commented Sep 1, 2022

Passed the tests on Pangea3, Release, Debug, RelWithDebInfo. Still the same failure in test listed in this issue: GEOS-DEV/GEOS#2031.

Approved on Pangea3.

@klevzoff klevzoff force-pushed the feature/klevzoff/trilinos-parmetis branch from 06b004b to 81fce4e Compare May 8, 2023 01:51
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.

None yet

2 participants