Skip to content

Use METIS ordering for superlu#218

Merged
Bruno02468 merged 9 commits intoMystranSolver:devfrom
Copper280z:feat/metis
Apr 29, 2026
Merged

Use METIS ordering for superlu#218
Bruno02468 merged 9 commits intoMystranSolver:devfrom
Copper280z:feat/metis

Conversation

@Copper280z
Copy link
Copy Markdown
Contributor

This PR adds the METIS library and it's dependencies, patches the METIS build system for compatibility, and patches SuperLU to use METIS if it's available.

METIS calculates a fill-in reducing permutation used by superlu for the factorization, on the current ~250k element benchmark problems this reduces ram usage from approx 9GB to 7GB and provides a significant reduction in solve time, on the order of a 40-80s reduction on a 200-250s total runtime. This should also make memory usage more consistent for similarly sized decks.

zchlrnr and others added 9 commits April 20, 2026 18:57
Add submodules for METIS, patch METIS build system to work nicely with
ours, patch superlu to use METIS when available.
pass the fortran superlu driver to use metis ordering if available.
@Bruno02468
Copy link
Copy Markdown
Collaborator

Merging to add build fixes.

@Bruno02468 Bruno02468 merged commit 090b5ae into MystranSolver:dev Apr 29, 2026
1 check failed
@Copper280z Copper280z deleted the feat/metis branch April 29, 2026 01:31
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.

3 participants