diff --git a/bin/install-shtns.sh b/bin/install-shtns.sh index cc24a4b2..04e07341 100755 --- a/bin/install-shtns.sh +++ b/bin/install-shtns.sh @@ -1,18 +1,19 @@ #!/bin/bash -ver="3.5.2" +ver="3.7" if test ! -d $HOME/local; then mkdir $HOME/local fi wget https://bitbucket.org/nschaeff/shtns/downloads/shtns-$ver.tar.gz -tar -xvf shtns-$ver.tar.gz -rm shtns-$ver.tar.gz +wget https://gricad-gitlab.univ-grenoble-alpes.fr/schaeffn/shtns/-/archive/v$ver/shtns-v$ver.tar.gz +tar -xvf shtns-v$ver.tar.gz +rm shtns-v$ver.tar.gz -if [ -d "shtns-$ver" ] +if [ -d "shtns-v$ver" ] then - mv shtns-$ver shtns + mv shtns-v$ver shtns fi cd shtns @@ -43,7 +44,7 @@ else fi fi -opts="--enable-magic-layout --prefix=$HOME/local --enable-ishioka" +opts="--enable-magic-layout --prefix=$HOME/local" if [[ -n $MKLROOT ]] then echo "MKL found, installing with MKL"