Skip to content

Feature Request: Support for Parallel Case Execution #91

@schmoelder

Description

@schmoelder

Currently, CADET-RDM restricts users to running only one case at a time because all results are stored and committed in a single output repository directory. This limitation prevents parallel execution of multiple cases (e.g., parameter sweeps or independent scenarios), which is often desirable for efficiency.

Proposed Solutions:

  1. Multiple Repository Clones:
    Clone the output repository multiple times to isolate parallel runs.
    Downside: Risk of desynchronization (e.g., if push=False), requiring manual conflict resolution.

  2. Temporary Directory + Post-Run Commit:

    • Let CADET-RDM create temporary directory to store results during execution.
    • Copy and commit results to the output repository after completion.
    • Challenge: How do we communicate which temp directory is relevant for which "runner"?
  3. Configurable Output Directory:
    Allow users to specify a custom directory for CADET-RDM to track and commit results.
    Question: Are there downsides to this approach (e.g., complexity, edge cases)?

Intuitively, I would go with option 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions