Commit da41a443 authored by pracht's avatar pracht
Browse files

Add module loading script for the cluster

parent 95854f60
Loading
Loading
Loading
Loading

cluster/modules.txt

0 → 100644
+1 −0
Original line number Diff line number Diff line
/devel/miniconda/23.9.0-py.3.9.15
 No newline at end of file

cluster/setup.sh

0 → 100644
+13 −0
Original line number Diff line number Diff line
# Load cluster modules specified in "modules.txt"
modules="modules.txt"

# Check if file is available
if [ ! -f "$modules" ]; then
    echo "Error: File '$modules' not found."
    exit 1
fi

# Load the modules
while read -r MODULE; do
    module load $MODULE
done < "$modules"
 No newline at end of file