From ec6815551a0edb8ee26db4a61d20956f3686c923 Mon Sep 17 00:00:00 2001 From: Thomas Gastine Date: Tue, 22 Oct 2024 17:11:06 +0200 Subject: [PATCH] update shtns install script --- bin/install-shtns.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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"