Getting Started for ISCA 2022 Tutorial

From Source Code

Install Prerequisites

Please install dependencies shown below, according to your operating system.

Debian/Ubuntu

Using apt.

sudo apt -y install \
    vim gcc g++ make cmake \
    libboost-dev libboost-program-options-dev \
    python3 git

macOS

Using homebrew.

brew install boost cmake coreutils

Windows

Please use Windows Subsystem for Linux. WSL

Clone ASTRA-sim Tutorial

git clone https://github.com/astra-sim/tutorials.git

Clone ASTRA-sim

cd tutorials/isca2022
./clone_astra_sim.sh

Build ASTRA-sim for Exercise 1

./exercise_1/build.sh

When build fails, please check if dependencies listed above are properly installed.

Run Exercise 1

./exercise_1/exercise_1.sh

When execution fails, please check if ASTRA-sim is successfully compiled.




From Prebuilt Docker Image

Pull Docker Image

docker pull astrasim/astra-sim-tutorial

Run Container

docker run -it astrasim/astra-sim-tutorial
cd tutorials/isca2022/astra-sim/

Build ASTRA-sim for Exercise 1

./exercise_1/build.sh

Run Exercise 1

./exercise_1/exercise_1.sh

Hits