You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fatal_error "Values for EESSI_SOFTWARE_SUBDIR_OVERRIDE (${EESSI_SOFTWARE_SUBDIR_OVERRIDE}) and EESSI_SOFTWARE_SUBDIR (${EESSI_SOFTWARE_SUBDIR}) differ!"
69
+
else
70
+
echo_green ">> Using ${EESSI_SOFTWARE_SUBDIR} as software subdirectory!"
71
+
fi
72
+
73
+
echo">> Configuring EasyBuild..."
74
+
EB="eb"
75
+
source$TOPDIR/configure_easybuild
76
+
77
+
echo">> Setting up \$MODULEPATH..."
78
+
# make sure no modules are loaded
79
+
module --force purge
80
+
# ignore current $MODULEPATH entirely
81
+
module unuse $MODULEPATH
82
+
module use $EASYBUILD_INSTALLPATH/modules/all
83
+
if [[ -z${MODULEPATH} ]];then
84
+
fatal_error "Failed to set up \$MODULEPATH?!"
85
+
else
86
+
echo_green ">> MODULEPATH set up: ${MODULEPATH}"
87
+
fi
88
+
89
+
# assume there's only one diff file that corresponds to the PR patch file
90
+
pr_diff=$(ls [0-9]*.diff | head -1)
91
+
92
+
# if this script is run as root, use PR patch file to determine if software needs to be removed first
0 commit comments