Changes in modules

This commit is contained in:
2020-03-06 15:44:09 +01:00
parent 380cb65dff
commit bd00a604bd
3 changed files with 46 additions and 7 deletions

View File

@@ -23,15 +23,24 @@ source_existing ~/.bash_prompt.kuba
# Source lmod module setup
source_existing /usr/share/lmod/lmod/init/profile
if [ -e /usr/share/lmod/lmod/init/profile ]; then
module use "$HOME/.modules.kuba/"
module load python-wrap/3
fi
case $hostname in
case $(hostname) in
vera* )
module use "$HOME/.modules.kuba/"
module load Python/3.7.4
module load clusterappl
module load gpaw/Vera/20.1.0
;;
tetralith* )
module use "$HOME/.modules.kuba/"
module load Python/3.6.3-anaconda-5.0.1-nsc1
module load clusterappl
;;
* )
if [ -e /usr/share/lmod/lmod/init/profile ]; then
module use "$HOME/.modules.kuba/"
module load python-wrap/3
fi
esac
if xhost >& /dev/null ; then