Untitled

 avatar
unknown
plain_text
2 months ago
1.3 kB
3
Indexable
sudo apt update
sudo apt install \
  gcc g++ make cmake \
  libboost-dev libboost-program-options-dev \
  libprotobuf-dev protobuf-compiler \
  openmpi-bin openmpi-doc libopenmpi-dev \
  python3 python3-pip git


Installing protobuf 3.6.1 locally
./configure
make -j$(nproc)
make check -j$(nproc)  # checking compilation finished successfully
sudo make install  # register protobuf to PATH
which protoc  # system should be able to locate protoc
protoc --version  # should be 3.6.1


pip3 install --upgrade pip
pip3 install pydot


$ git clone --recurse-submodules git@github.com:astra-sim/astra-sim.git
$ cd astra-sim


# For Analytical Network Backend
$ ./build/astra_analytical/build.sh

# For NS3 Network Backend
$ ./build/astra_ns3/build.sh -c

For the analytical network backend
${ASTRA_SIM}/build/astra_analytical/build/AnalyticalAstra/bin/AnalyticalAstra


# Need configs
# Network -> /inputs/network/name.yaml
# System -> /inputs/system/name.json
# Memory -> /inputs/memory/remote_memory.json
# Workload -> inputs/workload/all_reduce.txt
# Convert workload using 
$ chakra_converter Text \
    --input ../../../my_examples/ex1/inputs/workload/all_reduce.txt \
    --output ../../../my_examples/ex1/inputs/new_workload \
    --num-npus 10 \
    --num-passes 1

# Make sh file
# Run

Editor is loading...
Leave a Comment