Skip to content

Commit

Permalink
add slurm scripts emmy on local and scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
lquenti committed Mar 2, 2024
1 parent 5669b68 commit ed21f87
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions SLURM/Emmy_lokal.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion SLURM/Emmy.sh → SLURM/Emmy_scratch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ed21f87

Please sign in to comment.