Skip to content

Commit

Permalink
Update test_suite.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
laraPPr authored Dec 19, 2024
1 parent 7f773c0 commit 576326e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,16 @@ fi

TMPDIR=$(mktemp -d)

nvidia-smi

echo ">> Setting up environment..."
# For this call to be succesful, it needs to be able to import archspec (which is part of EESSI)
# Thus, we execute it in a subshell where EESSI is already initialized (a bit like a bootstrap)
export EESSI_SOFTWARE_SUBDIR_OVERRIDE=$(source $TOPDIR/init/bash > /dev/null 2>&1; python3 $TOPDIR/eessi_software_subdir.py $DETECTION_PARAMETERS)
echo "EESSI_SOFTWARE_SUBDIR_OVERRIDE: $EESSI_SOFTWARE_SUBDIR_OVERRIDE"

source $TOPDIR/init/bash
export MODULEPATH=/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen3/accel/nvidia/cc80:$MODULEPATH
export MODULEPATH=/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen3/accel/nvidia/cc80/modules/all:$MODULEPATH

# We have to ignore the LMOD cache, otherwise the software that is built in the build step cannot be found/loaded
# Reason is that the LMOD cache is normally only updated on the Stratum 0, once everything is ingested
Expand Down

0 comments on commit 576326e

Please sign in to comment.