From ed21f87245a1281f19a761db95b3ec087b665d2c Mon Sep 17 00:00:00 2001 From: Lars Quentin Date: Sat, 2 Mar 2024 18:49:38 +0100 Subject: [PATCH] add slurm scripts emmy on local and scratch --- SLURM/Emmy_lokal.sh | 19 +++++++++++++++++++ SLURM/{Emmy.sh => Emmy_scratch.sh} | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 SLURM/Emmy_lokal.sh rename SLURM/{Emmy.sh => Emmy_scratch.sh} (86%) diff --git a/SLURM/Emmy_lokal.sh b/SLURM/Emmy_lokal.sh new file mode 100644 index 0000000..1278ab5 --- /dev/null +++ b/SLURM/Emmy_lokal.sh @@ -0,0 +1,19 @@ +#!/bin/bash +#SBATCH -t 1:00:00 +#SBATCH -p standard96 +#SBATCH --output=emmy-%j.out +#SBATCH --exclusive +#SBATCH --partition=standard96 +#SBATCH --constraint=ssd + +CLUSTER="emmy" + +SCRIPT_DIR="/scratch-emmy/usr/$(whoami)/blackheap" +cd $SCRIPT_DIR + +PATH_TO_SAVE_OUTPUT="${SCRIPT_DIR}/output_${CLUSTER}" +PATH_TO_BENCHMARK_FILE="/tmp/benchmark_${CLUSTER}.dat" + +./target/release/blackheap ${PATH_TO_SAVE_OUTPUT} -f ${PATH_TO_BENCHMARK_FILE} + +rm $PATH_TO_BENCHMARK_FILE diff --git a/SLURM/Emmy.sh b/SLURM/Emmy_scratch.sh similarity index 86% rename from SLURM/Emmy.sh rename to SLURM/Emmy_scratch.sh index d596dea..69f896a 100644 --- a/SLURM/Emmy.sh +++ b/SLURM/Emmy_scratch.sh @@ -11,7 +11,7 @@ CLUSTER="emmy" SCRIPT_DIR="/scratch-emmy/usr/$(whoami)/blackheap" cd $SCRIPT_DIR -PATH_TO_SAVE_OUTPUT="${SCRIPT_DIR}/output_${CLUSTER}" +PATH_TO_SAVE_OUTPUT="${SCRIPT_DIR}/output_${CLUSTER}_scratch" PATH_TO_BENCHMARK_FILE="${SCRIPT_DIR}/benchmark_${CLUSTER}.dat" ./target/release/blackheap ${PATH_TO_SAVE_OUTPUT} -f ${PATH_TO_BENCHMARK_FILE}