Skip to content
⌘K

MFEM

Lightweight, general, scalable C++ library for finite element methods.

health 79contrib 332.3k

Overview & architecture

C++ standard
–
Build systems
cmake
License
BSD-3-Clause
Languages
C++
Last release
v4.10 · Sep 1, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
2.3k▲ 45
Merged PRs (30d)
latest
55▲ 55
Contributors (90d)
latest
41▲ 38
Issue first response p50
latest
5d▼ 16d
105 open issues194 open PRs215 commits (30d)0 good first issues2 help wanted

Recent notable activity

Stories

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • MFEM v4.6.2-rc0pre-release / patch

    📦 Docker containers for this release: developer-cpu developer-cuda-sm70 See mfem/containers for more details.

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.
9 more candidates below the publish threshold
LabelledcandidateMatches your profileSimulation & Solvers

MFEM 5.0 move to C++20

This is a proposed change for MFEM 5.0 to move the minimum required C++ standard to C++20 (without modules). Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Reasons for moving to C++20 Access to new language and standard C++ library features Align MFEM with other LLNL codes which require C++20 Reasons for not using C++ modules Missing support in many toolchains Lack of support in any existing Cuda or HIP device compiler, leading to painful and significant code restructuring to isolate device code from…

45score
cpp20cuda
  • Demand 25% × 0.00 = 00 reactions, 3 comments (not counted alone)
  • Technical fit 30% × 0.61 = 18MFEM is in HPC & Scientific (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.88 = 22a maintainer commented; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #5659 MFEM 5.0 move to C++20issue
    This is a proposed change for MFEM 5.0 to move the minimum required C++ standard to C++20 (without modules). Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Reasons for moving to C++20…
  • Maintainer commentissue
    Check how well this is supported in GCC and other compilers we use
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 2d ago
LabelleduntouchedcandidateMatches your profileSimulation & Solvers

ParMesh::AnisotropicConflict segfaults on nonconforming 3D hex meshes in parallel

ParMesh::AnisotropicConflict segfaults at np ≥ 2 when called on a 3D hex mesh that already has anisotropic refinements. The crash is in DirectedHexEdgeScale, which was added in ( ) Reproducer #include "mfem.hpp" #include using namespace mfem; // Refine the elements whose center satisfies the cut anisotropically // (type), resolving parallel conflicts with AnisotropicConflict. static void Pass(ParMesh &pmesh, int axis, bool above, double cut, char type) { Array refs; Vector c(3); for (int e = 0; e cut : c(axis) conflicts; if (!pmesh.AnisotropicConflict(refs, conflicts)) { break; } // crashes…

45score
cuda
  • Demand 25% × 0.00 = 00 reactions, 2 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12MFEM is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.88 = 22a maintainer commented; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of MFEM, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 2d ago
LabelleduntouchedcandidateMatches your profileSimulation & Solvers

MFEM 5.0 64-bit local indexing

This is a proposed change for MFEM 5.0 to support 64-bit indexing for MPI on-rank entities. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Scope Introduce mfem::index_type (or other name) which can be changed at compile time to be 32-bits or 64-bits Change the memory manager to use index_type to support larger than 2GB allocations Change various classes to allow more than 32-bit index limits on number of mesh elements, number of dofs, number of quadrature points, and loop bounds Questions How to…

43score
memorystoragetemplates
  • Demand 25% × 0.17 = 41 reactions, 1 comments
  • Technical fit 30% × 0.40 = 12MFEM is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.88 = 22a maintainer commented; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #5670 MFEM 5.0 64-bit local indexingissue
    This is a proposed change for MFEM 5.0 to support 64-bit indexing for MPI on-rank entities. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Scope Introduce mfem::index_type (or other…
  • Maintainer commentissue
    I added to the top post a related existing PR:
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelledcandidateMatches your profileSimulation & Solvers

MFEM 5.0 Change object ownership semantics (smart pointers)

This is a proposed change for MFEM 5.0 to change MFEM object ownership semantics to use smart pointers. Also unify how the MFEM library handles ownership semantics. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Existing discussions/PRs #4614 #4629 Reasons for smart pointers Make it more difficult to write certain classes of bugs in code Better interoperability with other languages via wrappers (PyMFEM) Consistent use of smart pointers makes the memory ownership semantics clear and explicit which…

39score
cuda
  • Demand 25% × 0.00 = 00 reactions, 12 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12MFEM is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.88 = 22a maintainer commented; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 2d ago
LabelleduntouchedcandidateMatches your profileSimulation & Solvers

MFEM 5.0 Planning

This is a tracking issue collecting ideas and planning for MFEM 5.0. Nothing on this list is final. Please let us know if there is anything you would like added (or not added) to this list. Please try to keep specific discussions about each entry to the linked sub-issues/PRs. General [ ] #5659 [ ] #5661 [ ] #5663 [ ] #5664 [ ] #5666 [ ] #5667 [ ] #5668 [ ] #5669 [ ] #5670 [ ] #5675 [ ] #5680 [ ] #5681 Mesh [ ] #5671 [ ] #5672 Discretization [ ] #5674 [ ] #5676 [ ] #5677 [ ] #5679 Solvers [ ] #5673 [ ] #5678 [ ] #5710 Not Planned C++ modules or C++23: see #5659 Questions How should breaking…

38score
cpp20
  • Demand 25% × 0.28 = 72 reactions, 2 comments
  • Technical fit 30% × 0.61 = 18MFEM is in HPC & Scientific (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.33 = 8no maintainer comment yet; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #5682 MFEM 5.0 Planningissue
    This is a tracking issue collecting ideas and planning for MFEM 5.0. Nothing on this list is final. Please let us know if there is anything you would like added (or not added) to this list. Please try to keep specific discussions about each entry to the linked sub-issues/PRs…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 2d ago
LabelleduntouchedcandidateMatches your profileSimulation & Solvers

MFEM 5.0 Finite element forms changes

This is a proposed change for MFEM 5.0 to unify how finite element forms (bilinear, linear, nonlinear, and mixed bilinear) are handled. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Existing discussions #5064 Scope Combine BilinearForm and MixedBilinearForm classes and associated extensions Support a unified optimized GPU-accelerated full, element, partial, and matrix-free assembly on all geometry types for all* bilinear forms Support user supplied GPU-evaluatable coefficients for linear and…

31score
cudanumericsperformance
  • Demand 25% × 0.00 = 00 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18MFEM is in HPC & Scientific (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.33 = 8no maintainer comment yet; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #5674 MFEM 5.0 Finite element forms changesissue
    This is a proposed change for MFEM 5.0 to unify how finite element forms (bilinear, linear, nonlinear, and mixed bilinear) are handled. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelledstaleMatches your profileSimulation & Solvers

CuDSSSolver does not compile with cuDSS 0.8

I was working on building MFEM with GPUs with Spack and found that the CuDSSSolver implementation added in #5124 targets the cuDSS 0.7 API and does not compile against cuDSS 0.8. A representative error is: text error: use of undeclared identifier 'CUDSS_DATA_COMM' error: no matching function for call to 'cudssMatrixCreateCsr' note: candidate function not viable: requires 14 arguments, but 13 were provided error: no known conversion from 'cudaDataType_t' to 'cudssDataType_t' The relevant breaking changes are the following: CUDSS_DATA_COMM was replaced with CUDSS_DATA_COMM_HOST and…

30score
cuda
  • Demand 25% × 0.00 = 00 reactions, 4 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12MFEM is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.29 = 7no maintainer comment yet; labelled (triaged); project responsiveness 38%
  • Feasibility 20% × 0.55 = 11clear scope; has reproduction steps; has code; project onboarding 50%
Evidence
  • #5441 CuDSSSolver does not compile with cuDSS 0.8issue
    I was working on building MFEM with GPUs with Spack and found that the CuDSSSolver implementation added in #5124 targets the cuDSS 0.7 API and does not compile against cuDSS 0.8. A representative error is: text error: use of undeclared identifier 'CUDSS_DATA_COMM' error: no…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 5d ago
LabelleduntouchedcandidateMatches your profileSimulation & Solvers

MFEM 5.0 Mixed precision

This is a proposed change for MFEM 5.0 to support mixed precision computing with MFEM. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Scope Support runtime switching/mapping data between single and double precision Support runtime selection of precision used during computation of finite element forms/linear algebra operations. Add support for compensated floating point operations (sequential sums/dot products/norms) Generalized interface for scalars as real, complex, or dual numbers? Existing related…

28score
numerics
  • Demand 25% × 0.13 = 31 reactions, 0 comments
  • Technical fit 30% × 0.40 = 12MFEM is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.33 = 8no maintainer comment yet; labelled (triaged); project responsiveness 50%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #5663 MFEM 5.0 Mixed precisionissue
    This is a proposed change for MFEM 5.0 to support mixed precision computing with MFEM. Use this issue to discuss the proposed changes and what you'd like to see changed about this, or if this proposal should not be done at all. Scope Support runtime switching/mapping data…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 20h ago
LabelledstaleMatches your profileSimulation & Solvers

Automatically synchronize GridFunctions after coefficient projections

At the moment (2026-05-26), calling ProjectBdrCoefficient can result in a GridFunction that is not conforming at hanging nodes. Let's discuss if we want to automatically restrict the GridFunction (L-vector) to T-vector and then prolongate back to L-vector to synchronize the shared and hanging dofs. A method that does this is GridFunction::RestrictConforming. This generally affects most (if not all) projection/interpolation methods. The current behavior is to leave this synchronization step to users, if they want to apply it. Note that when a GridFunction is used to setup a true-dof linear…

25score
cuda
  • Demand 25% × 0.00 = 00 reactions, 7 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12MFEM is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.34 = 8comments not checked; filed by a maintainer; project responsiveness 55%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 16d ago

Why this score

Health 79Contribution friendliness 33computed 20h ago
  • Activity1.00
    55 merged PRs in 30 days (full marks at 20); 218 commits in 30 days (full marks at 60)health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.00
    0 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness0.50
    median first maintainer response 115 h (full marks within 48 h, zero after 30 days); median PR merge time 545 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence0.87
    last release 82 days ago (full marks within 90, zero after 730); 2 releases in 365 days (full marks at 4)health
  • Backlog pressure0.20
    68% of 65 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.98
    41 unique contributors in 90 days (full marks at 25); top contributor has 17% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project