Skip to content

Simple Simulation Run

Description

This simple example make use of the main executable created when a Cosmo Tech simulator is built.

To use it locally you can add Generated/Build/Bin to your current PATH or just use csm exec if you have set up csmcli on your system.

Example call

export CSM_SIMULATION=MySimulation
csm exec csm-orc run run.json

Template

run.json
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
  "steps": [
    {
      "id": "Run",
      "description": "Simple Run of a Cosmo Tech Simulator",
      "command": "main",
      "arguments": [
        "-i",
        "$CSM_SIMULATION"
      ],
      "environment": {
        "CSM_SIMULATION": {
          "description": "The simulation file that will be run"
        }
      }
    }
  ]
}