Build ASTRA-sim

Note

Please make sure that you have all the required depencencies installed.

Clone Repository

git clone git@github.com:astra-sim/astra-sim.git
ASTRA_SIM=$(realpath ./astra-sim)
cd ${ASTRA_SIM}
git submodule update --init --recursive

Compile Program

Analytical Network Backend

./build/astra_analytical/build.sh

Once built, the executable ${ASTRA_SIM_BIN} is located at:

ASTRA_SIM_BIN=${ASTRA_SIM}/build/astra_analytical/build/bin/AstraSim_Analytical_Congestion_Aware

NS3 Network Backend

./build/astra_ns3/build.sh -c