2023-12-22 13:48:46 +01:00
|
|
|
module load ./Modulefile
|
|
|
|
distro=`/bin/lsb_release -i -s`
|
|
|
|
if [ $distro == "CentOS" ]; then
|
|
|
|
. /opt/rh/devtoolset-8/enable
|
|
|
|
. /opt/rh/rh-python38/enable
|
2024-06-04 10:09:24 +02:00
|
|
|
elif [ $distro == "Rocky" ]; then
|
|
|
|
. /opt/rh/gcc-toolset-11/enable
|
2023-12-22 13:48:46 +01:00
|
|
|
fi
|
|
|
|
layout python3
|
|
|
|
[ -f .envrc.$USER ] && . .envrc.$USER
|