From 10062ed98816b631a4a02c65529bbf6a31524107 Mon Sep 17 00:00:00 2001
From: Hauke Kirchner <hauke.gronenberg@gwdg.de>
Date: Thu, 15 Aug 2024 12:48:43 +0000
Subject: [PATCH] Update submit_train.sh to load new software stack

---
 code/submit_train.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/code/submit_train.sh b/code/submit_train.sh
index 533a7f9..a3ffc45 100644
--- a/code/submit_train.sh
+++ b/code/submit_train.sh
@@ -11,6 +11,12 @@
 #SBATCH --output=./slurm_files/slurm-%x-%j.out     # where to write output, %x give job name, %j names job id
 #SBATCH --error=./slurm_files/slurm-%x-%j.err      # where to write slurm error
 
+# load new software stack
+# see https://docs.hpc.gwdg.de/software/software_stacks/index.html
+export PREFERRED_SOFTWARE_STACK=nhr-lmod
+source /sw/etc/profile/profile.sh
+
+
 module load miniconda3
 module load cuda
 source activate dl-gpu # Or whatever you called your environment.
-- 
GitLab