case_build
Build a CESM case by compiling its source code, optionally using a container for interactive runs without queue delay.
Instructions
Compile a CESM case (./case.build).
Pass container=<session_name> to compile inside a crocontainer session — this is the recommended path for fast iteration since it avoids queue wait times and uses the pre-installed compilers and MPI in the container.
On Derecho without a container this can take 10–30 minutes in a batch job. Inside crocontainer it runs interactively and returns immediately on completion.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"case_dir": "<case_dir>"
},
"name": "case_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_dir | Yes | ||
| sharedlib_only | No | ||
| model_only | No | ||
| container | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |