2023-10-21 21:30:48 +02:00
|
|
|
distro=`/bin/lsb_release -i -s`
|
|
|
|
if [ $distro == "CentOS" ]; then
|
|
|
|
. /opt/rh/devtoolset-8/enable
|
|
|
|
. /opt/rh/llvm-toolset-7/enable
|
|
|
|
. /opt/rh/rh-python38/enable
|
2024-07-05 07:55:50 +02:00
|
|
|
elif [ $distro == "Rocky" ]; then
|
|
|
|
. /opt/rh/gcc-toolset-11/enable
|
2023-10-21 21:30:48 +02:00
|
|
|
fi
|
|
|
|
module load ./Modulefile
|
|
|
|
layout python3
|
|
|
|
[ -f .envrc.$USER ] && . .envrc.$USER
|