aboutsummaryrefslogtreecommitdiff
path: root/hpc.sh
diff options
context:
space:
mode:
authorMarvin Borner2023-08-19 19:36:32 +0200
committerMarvin Borner2023-08-19 19:36:32 +0200
commita97512254b20d6138b45680a1f913caf31a30d7b (patch)
tree402cb02f0644a8dbffed8291428c7774db3391e8 /hpc.sh
parent9cbbcacee6814837799b5fa941f8de7edbda4a7e (diff)
Now waiting..
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