From 45fa6b12ffa9a2d7b559f1c60ce6b71f94f4cc45 Mon Sep 17 00:00:00 2001 From: Thomas Roeblitz Date: Tue, 15 Oct 2024 19:59:05 +0200 Subject: [PATCH] log if Lmod rc/SitePackage are being created --- EESSI-install-software.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EESSI-install-software.sh b/EESSI-install-software.sh index 467a484fc7..f05e8ea7f9 100755 --- a/EESSI-install-software.sh +++ b/EESSI-install-software.sh @@ -161,11 +161,13 @@ _eessi_software_path=${EESSI_PREFIX}/software/${EESSI_OS_TYPE}/${EESSI_SOFTWARE_ _lmod_cfg_dir=${_eessi_software_path}/.lmod _lmod_rc_file=${_lmod_cfg_dir}/lmodrc.lua if [ ! -f ${_lmod_rc_file} ]; then + echo "Lmod file '${_lmod_rc_file}' does not exist yet; creating it..." command -V python3 python3 ${TOPDIR}/create_lmodrc.py ${_eessi_software_path} fi _lmod_sitepackage_file=${_lmod_cfg_dir}/SitePackage.lua if [ ! -f ${_lmod_sitepackage_file} ]; then + echo "Lmod file '${_lmod_sitepackage_file}' does not exist yet; creating it..." command -V python3 python3 ${TOPDIR}/create_lmodsitepackage.py ${_eessi_software_path} fi