Commit 6d5a0c68 authored by incardon's avatar incardon
Browse files

Cheking MPI installation on CentOS

parent 0d601a19
Pipeline #2012 failed with stages
in 7 seconds
......@@ -113,6 +113,8 @@ fi
remove_old $i_dir $configure_options
exit 1
## Check and try to install the prerequisites
......@@ -215,7 +217,6 @@ echo -e "Installing requirements into: $i_dir "
if [ ! -d "$i_dir/PETSC" -o ! -f "$i_dir/PETSC/include/petsc.h" -o ! -d "$i_dir/EIGEN" ]; then
echo -e "\033[1;34m Optional packages \033[0m"
echo -e "\033[1mDo you want to install linear algebra packages ?(y/n)\033[0m"
echo "Installation can take long time (90 minutes on i7-3612QM 4 cores)"
if [ $sq -eq 0 ]; then
read inst_lin_alg
......@@ -176,6 +176,7 @@ function remove_old()
echo -e "\033[1;34;5m MPI has been updated to version 4.0.2, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
sleep 5
exit 1
rm -rf $1/MPI/include
rm -rf $1/MPI/lib
rm -rf $1/MPI/bin
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment