run_flow
Start OPM Flow reservoir simulations in the background and receive a job ID immediately. Handles parallel job queuing, MPI processes, and custom flow arguments.
Instructions
Start an OPM Flow simulation in the background; returns a job id immediately.
extra_args is a JSON array of flow flags, e.g.
["--enable-tuning=true"] — a plain string is also accepted and split
shell-style. At most OPM_MCP_MAX_PARALLEL jobs run at once — extra
submissions are state="queued" and launch automatically as slots free. By
default writes INFOSTEP/INFOITER diagnostics so flow_convergence_report
works (convergence_info="none" to skip). mpi_processes=N runs
mpirun -np N for distributed solves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threads | No | ||
| deck_path | Yes | ||
| extra_args | No | ||
| output_dir | No | ||
| mpi_processes | No | ||
| convergence_info | No | steps,iterations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||