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

Upgrading to MPI 4.1.1 for OSX

parent 003375cb
No related branches found
No related tags found
No related merge requests found
Pipeline #2974 failed
......@@ -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.1.1
rm openmpi-4.1.1.tar.gz
wget http://ppmcore.mpi-cbg.de/upload/openmpi-4.1.1.tar.gz
tar -xvf openmpi-4.1.1.tar.gz
......@@ -8,7 +8,7 @@ if [ -d "$1/MPI" ]; then
fi
./script/download_MPI.sh
cd openmpi-4.1.0
cd openmpi-4.1.1
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 9 > $1/MPI/version
echo 10 > $1/MPI/version
......@@ -169,9 +169,9 @@ function remove_old()
if [ -d $1/MPI ]; then
version=$(cat $1/MPI/version)
if [ x"$version" != x"9" ]; then
if [ x"$version" != x"10" ]; 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.1.1, 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