From 8dd156abfbc4ab98ca248caf0804f345588947ce Mon Sep 17 00:00:00 2001 From: Ivan Ilic Date: Sat, 14 Jan 2023 17:17:33 +0100 Subject: [PATCH] Add install and run all scripts --- install.sh | 6 ++++++ install_and_run_all.slurm | 15 +++++++++++++++ run_all.sh | 6 ++++++ 3 files changed, 27 insertions(+) create mode 100755 install.sh create mode 100755 install_and_run_all.slurm create mode 100755 run_all.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..bc02cfd --- /dev/null +++ b/install.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Run this script from within the directory that you want to install rmg-sort into. +pip install matplotlib +pip install pandas +git clone https://github.com/hpides/rmg-sort.git +cd rmg-sort diff --git a/install_and_run_all.slurm b/install_and_run_all.slurm new file mode 100755 index 0000000..a6ef2de --- /dev/null +++ b/install_and_run_all.slurm @@ -0,0 +1,15 @@ +#!/bin/bash +#SBATCH --mail-user=ivan.ilic@student.hpi.de +#SBATCH --mail-type=BEGIN,END +#SBATCH -A rabl +#SBATCH --partition sorcery +#SBATCH --nodelist dgxa100-01 +#SBATCH --nodes=1 +#SBATCH --ntasks-per-node=1 +#SBATCH --cpus-per-task=128 +#SBATCH --gpus=8 +#SBATCH --mem=100G +#SBATCH --time="1-12" + +./install.sh +./run_all.sh diff --git a/run_all.sh b/run_all.sh new file mode 100755 index 0000000..c76523a --- /dev/null +++ b/run_all.sh @@ -0,0 +1,6 @@ +#!/bin/bash +# Run this script from within the rmg-sort directory. +git submodule update --init --recursive +./build.sh +python3 scripts/run_experiments.py build results +python3 scripts/plot_experiments.py results