container_exec
Execute CIME commands (e.g., case.build, case.submit) inside a running container session to manage CESM cases.
Instructions
Run a CIME command inside a running container session.
name: session name from start_container. case_dir: absolute path to the CESM case directory on the host. On Derecho this path is identical inside the container (/glade is mounted). On Podman, this dir is passed as -v and mounted at the same path. command: shell command to run (e.g. './case.build', './case.submit --no-batch').
Returns the full stdout+stderr from the command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| case_dir | Yes | ||
| command | Yes | ||
| runtime | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |