llnl / llnl/smith

handle errors, rather than aborting

Open
#948 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
245
Forks
36
Avg merge
8d 23h
Merged PRs (30d)
4

Description

Right now if convergence stagnates or something goes wrong in one of the steps (e.g. factorization), the program exits.

Instead, we should be able to tell mfem to not just abort on errors (they have a preprocessor macro to change this), but throw an exception that would allow us to continue execution and do something different.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MFEM error-handling configuration and the convergence or factorization call paths described in the issue. Clarify how errors should be reported and caught without aborting, and what continued execution should mean; done requires an agreed exception-based behavior for these failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.