Load and Run

A guide to using axcli's load and run commands

On this page, you'll learn about:

  • Both the axcli load and axcli run commands and their differences

  • When to use run and when to use load

  • Axinite's backends

axcli load

The load command takes a template file and computes the timesteps of the system. Afterwards, dumps the data to a file.

axcli load <TEMPLATE> [OUTFILE] [-b|--backend BACKEND]

axcli run

axcli's run command takes a template file and loads it while simultaneously showing it.

axcli <TEMPLATE> [-b|--backend BACKEND][-f|--frontend FRONTEND]

For the -f|--frontend argument, check out Live and Show.

run vs load

The run command and the load command have different purposes. run is meant to be used for testing, or as an alternative to live if on a high-end computer. load can handle large simulations better due to the fact that it can use JIT.

Situation
Load?
Run?

Trying out a template file from the catalog

Simulating 30 days of 1 hour timesteps

Simulating 30 days of 5 minute timesteps

Simulating a full rocket launch

Testing out whether thrust works on the rocket

Remember, these are just guidelines!

Backends

Axinite comes included with many built in backends, which you can learn more about here. You can pass in:

  • euler for a Euler's method backend.

  • euler_nojit for a Euler's method backend without JIT.

  • verlet for a Verlet method backend.

  • verlet_nojit for a Verlet backend without JIT.

Last updated