diff --git a/README.md b/README.md index 3f9f7f0..da0031c 100644 --- a/README.md +++ b/README.md @@ -19,5 +19,17 @@ cargo build --release should suffice ### [SCC cluster](https://gwdg.de/hpc/systems/scc/) +- Use `rustup`, not modules +- Get a up to date rust compiler via `rustup update` + +- `cc`, which is mapped to the default `gcc`, is too old. + - Load a newer gcc via `module load gcc/11.4.0` + - Tell rust to use that one via `CC=$(which gcc) cargo build --release` + ### [Emmy HLRN cluster](https://gwdg.de/hpc/systems/emmy/) +- Use `rustup`, not modules +- Get a up to date rust compiler via `rustup update` + +- get the newest `gcc` as module as well + - Tell rust to use that one via `CC=$(which gcc) cargo build --release` diff --git a/SLURM/Emmy.sh b/SLURM/Emmy.sh new file mode 100644 index 0000000..5dbe0d1 --- /dev/null +++ b/SLURM/Emmy.sh @@ -0,0 +1,14 @@ +#!/bin/bash +#SBATCH -t 1:00:00 +#SBATCH -p standard96 +#SBATCH --output=emmy-%j.out + +CLUSTER="emmy" + +SCRIPT_DIR="/scratch-emmy/usr/$(whoami)/blackheap" +cd $SCRIPT_DIR + +PATH_TO_SAVE_OUTPUT="${SCRIPT_DIR}/output_${CLUSTER}" +PATH_TO_BENCHMARK_FILE="${SCRIPT_DIR}/benchmark_${CLUSTER}.dat" + +./target/release/blackheap ${PATH_TO_SAVE_OUTPUT} -f ${PATH_TO_BENCHMARK_FILE} diff --git a/SLURM/SCC.sh b/SLURM/SCC.sh new file mode 100644 index 0000000..4f287e1 --- /dev/null +++ b/SLURM/SCC.sh @@ -0,0 +1,16 @@ +#!/bin/bash +#SBATCH -t 1:00:00 +#SBATCH -p medium +#SBATCH --output=scc-%j.out +#SBATCH --mem=5G + +CLUSTER="scc" + +SCRIPT_DIR="/scratch/users/$(whoami)/blackheap" +cd $SCRIPT_DIR + +PATH_TO_SAVE_OUTPUT="${SCRIPT_DIR}/output_${CLUSTER}" +PATH_TO_BENCHMARK_FILE="${SCRIPT_DIR}/benchmark_${CLUSTER}.dat" + +./target/release/blackheap ${PATH_TO_SAVE_OUTPUT} -f ${PATH_TO_BENCHMARK_FILE} +