get_run_progress
Monitors a running or finished LS-DYNA solve read-only, reporting time, cycle, percent complete, ETA, hang hints, and solver errors without touching the process.
Instructions
Progress of a running or finished solve, read-only (never touches or kills a process). From
messag / mes0nnnn (MPP), restart messag01 / mes010000, d3hsp and lsrun.stdout.txt: latest time,
cycle and time step, percent of the end time, the solver's own estimate lines when it printed
them (estimated total / to-complete cpu and clock time, percent complete), our own rate and ETA
from successive calls (observations are kept in the per-user state folder, not in the run
folder, so call it again a minute or more later), hang hints (no solver process, newest output
file older than stale_minutes, d3plot not advancing, simulation time unchanged between calls)
and the solver's error block (Error nnnnn, termination due to energy, forrtl) from the tail.
state: running, finished, failed, stalled or unknown. The ETA assumes a constant rate.
Args: working_dir, stale_minutes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| working_dir | Yes | ||
| stale_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |