Quickstart: Run a Sod Shock Tube ================================ This tutorial walks you through a complete first run of AthenaK from scratch: compiling the code, running a simple built-in test problem, and visualizing the result. The example used here is **Sod's shock tube**, a classic 1D hydrodynamics test that runs in seconds on a laptop. If you have not yet obtained the source, see :doc:`download` first (a recursive clone that includes the Kokkos submodule is required). Step 1: Compile --------------- From the top-level repository directory, configure and build a standard CPU executable: .. code-block:: bash cmake -B build cmake --build build -j This produces the executable ``build/src/athena``. (For an optimized release build, GPU builds, and architecture-specific flags, see :doc:`build`.) Step 2: Look at the input file (optional) ----------------------------------------- While not strictly necessary to run the code, it is helpful to look at the input file that defines the problem, ``inputs/hydro/sod.athinput``. A few of the key blocks are: .. code-block:: text nx1 = 256 # 256 zones... x1min = -0.5 # ...spanning x in [-0.5, 0.5] x1max = 0.5