build_sandbox
Creates a writable Apptainer sandbox from a crocontainer registry image for CESM runs on Derecho. Required one-time setup before container use.
Instructions
Build the Apptainer writable sandbox from the crocontainer registry image.
This is a one-time setup step required on Derecho before start_container can be used. Takes ~1 hour on a compute node. Submits via qcmd if queue_walltime is set.
sandbox_dir: where to create the sandbox (default: ~/scratch/crocontainer_sandbox). queue_walltime: PBS walltime for the build job (default 3h).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "build_sandbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sandbox_dir | No | ||
| queue_walltime | No | 03:00:00 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |