- METIS
- NetworkX
- Bitsets
- Make sure the environment has
gcc
andcmake
.
If not:
a) Installgcc
:b) Installsudo apt update sudo apt install build-essential
cmake
:
Install dependency packages:Download source code (may create a new directory or download directly intosudo apt update sudo apt-get install build-essential libssl-dev\
/tmp
):Extract file:cd /tmp wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz
Finish installation:tar -zxvf cmake-3.20.0.tar.gz
cd cmake-3.20.0 ./bootstrap make sudo make install
- Download and install METIS package
cd /tmp
wget http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz
gunzip metis-5.x.y.tar.gz
tar -xvf metis-5.x.y.tar
make config shared=1
- Activate your environment.
- Install METIS library by
pip
:
pip install metis
pip install networkx
pip install bitsets
Run independently
<!-- CIFAR-10 -->
bash ./script/part2/cifar10_ideal0.sh
bash ./script/part2/cifar10_ideal1.sh
bash ./script/part2/cifar10_ideal2.sh
bash ./script/part2/cifar10_ideal3.sh
bash ./script/part2/cifar10_ideal4.sh
bash ./script/part2/cifar10_ideal5.sh
bash ./script/part2/cifar10_ideal6.sh
bash ./script/part2/cifar10_ideal7.sh
bash ./script/part2/cifar10_ideal8.sh
bash ./script/part2/cifar10_ideal9.sh
bash ./script/part2/cifar10_ideal0a.sh
bash ./script/part2/cifar10_ideal1a.sh
bash ./script/part2/cifar10_ideal2a.sh
bash ./script/part2/cifar10_ideal3a.sh
bash ./script/part2/cifar10_ideal4a.sh
bash ./script/part2/cifar10_ideal5a.sh
bash ./script/part2/cifar10_ideal6a.sh
bash ./script/part2/cifar10_ideal7a.sh
bash ./script/part2/cifar10_ideal8a.sh
bash ./script/part2/cifar10_ideal9a.sh
<!-- CIFAR-100 -->
bash ./script/part2/cifar100_ideal0.sh
bash ./script/part2/cifar100_ideal1.sh
bash ./script/part2/cifar100_ideal2.sh
bash ./script/part2/cifar100_ideal3.sh
bash ./script/part2/cifar100_ideal4.sh
bash ./script/part2/cifar100_ideal5.sh
bash ./script/part2/cifar100_ideal6.sh
bash ./script/part2/cifar100_ideal7.sh
bash ./script/part2/cifar100_ideal8.sh
bash ./script/part2/cifar100_ideal9.sh
bash ./script/part2/cifar100_ideal0a.sh
bash ./script/part2/cifar100_ideal1a.sh
bash ./script/part2/cifar100_ideal2a.sh
bash ./script/part2/cifar100_ideal3a.sh
bash ./script/part2/cifar100_ideal4a.sh
bash ./script/part2/cifar100_ideal5a.sh
bash ./script/part2/cifar100_ideal6a.sh
bash ./script/part2/cifar100_ideal7a.sh
bash ./script/part2/cifar100_ideal8a.sh
bash ./script/part2/cifar100_ideal9a.sh