aboutsummaryrefslogtreecommitdiff
path: root/hpc.sh
diff options
context:
space:
mode:
authorMarvin2023-08-19 21:39:02 +0200
committerGitHub2023-08-19 21:39:02 +0200
commitf88c9afc6e9efcb6f79a959779114095c23e0cef (patch)
treeb2a46dfff4c908aae734ebe5e4caa32e2d3f1d48 /hpc.sh
parentb5aee436d95c6eb54adb7dc3f405249520ff7e9b (diff)
parent0f94b144fbd79b721e994f0350fe8ee19c7a691c (diff)
Merge pull request #18 from Algo-Boys/not-distributed-but-still-cool
Not distributed but still cool
Diffstat (limited to 'hpc.sh')
-rwxr-xr-xhpc.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/hpc.sh b/hpc.sh
new file mode 100755
index 0000000..ba0c5eb
--- /dev/null
+++ b/hpc.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+#SBATCH --job-name=swr-teamprojekt
+#SBATCH --partition=a100
+#SBATCH --time=00:30:00
+
+### Note: --gres=gpu:x should equal to ntasks-per-node
+#SBATCH --nodes=1
+#SBATCH --ntasks-per-node=1
+#SBATCH --gres=gpu:a100:1
+#SBATCH --cpus-per-task=8
+#SBATCH --mem=64gb
+#SBATCH --chdir=/mnt/lustre/mladm/mfa252/SWR2-cool-projekt-main/
+#SBATCH --output=/mnt/lustre/mladm/mfa252/%x-%j.out
+
+source venv/bin/activate
+
+### the command to run
+srun ./hpc_train.sh