diff --git a/script/download_MPI.sh b/script/download_MPI.sh index cd8113605a9055d900406a0d9420b1dd0ae286b9..614dd2c0ce3baea887e3167e3db80efab18865fd 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.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 +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 diff --git a/script/install_MPI.sh b/script/install_MPI.sh index ff5d7bc675a3dc72d66bf19cd672e9c6abfba821..adf911cc53d6bc998231b9cca5db38b410842071 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.0.4 +cd openmpi-4.1.0 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 8 > $1/MPI/version +echo 9 > $1/MPI/version diff --git a/script/remove_old b/script/remove_old index a3a6367630b528f20053f4a5fd947a4a02c7a5ea..4d678f9c4eb9d529aefac9282d4953672ea6b54c 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"8" ]; then + if [ x"$version" != x"9" ]; then echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \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 MPI has been updated to version 4.1.0, the component will be updated automatically \033[0m" echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m" sleep 5 rm -rf $1/MPI/include