From 8adb0d0b9542982bb09a22f02aa0de67789df91e Mon Sep 17 00:00:00 2001 From: i-bird Date: Wed, 13 Jan 2021 19:02:08 +0100 Subject: [PATCH] Reverting back to openmpi 4.0.4 --- script/download_MPI.sh | 8 ++++---- script/install_MPI.sh | 4 ++-- script/remove_old | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/script/download_MPI.sh b/script/download_MPI.sh index 614dd2c0..cd811360 100755 --- a/script/download_MPI.sh +++ b/script/download_MPI.sh @@ -2,8 +2,8 @@ # check if the directory $1/MPI exist -rm -rf openmpi-4.1.0 -rm openmpi-4.1.0.tar.gz -wget http://ppmcore.mpi-cbg.de/upload/openmpi-4.1.0.tar.gz -tar -xvf openmpi-4.1.0.tar.gz +rm -rf openmpi-4.0.4 +rm openmpi-4.0.4.tar.gz +wget http://ppmcore.mpi-cbg.de/upload/openmpi-4.0.4.tar.gz +tar -xvf openmpi-4.0.4.tar.gz diff --git a/script/install_MPI.sh b/script/install_MPI.sh index 76905b7e..ff5d7bc6 100755 --- a/script/install_MPI.sh +++ b/script/install_MPI.sh @@ -8,7 +8,7 @@ if [ -d "$1/MPI" ]; then fi ./script/download_MPI.sh -cd openmpi-4.1.0 +cd openmpi-4.0.4 if [ -f ../mpi_add_options ]; then mpi_options=$(cat ../mpi_add_options) @@ -30,5 +30,5 @@ make -j $2 make install # Mark the installation -echo 7 > $1/MPI/version +echo 8 > $1/MPI/version diff --git a/script/remove_old b/script/remove_old index 550c37cb..8669c1de 100755 --- a/script/remove_old +++ b/script/remove_old @@ -169,9 +169,9 @@ function remove_old() if [ -d $1/MPI ]; then version=$(cat $1/MPI/version) - if [ x"$version" != x"7" ]; then + if [ x"$version" != x"8" ]; then echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m" - echo -e "\033[1;34;5m MPI has been updated to version 4.1.0, the component will be updated automatically \033[0m" + echo -e "\033[1;34;5m MPI has been updated to version 4.0.4, the component will be updated automatically \033[0m" echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m" sleep 5 rm -rf $1/MPI/include -- GitLab