Skip to content
Snippets Groups Projects
Commit 9771ac74 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Upgrading MPI

parent 8db61bc7
No related branches found
No related tags found
No related merge requests found
Pipeline #2824 failed
......@@ -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
......@@ -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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment