Skip to content

Commit

Permalink
Add install and run all scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Ilic committed Jan 14, 2023
1 parent 199f690 commit 8dd156a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions install_and_run_all.slurm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
#SBATCH [email protected]
#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
6 changes: 6 additions & 0 deletions run_all.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8dd156a

Please sign in to comment.