Commit 0c1df622 authored by incardon's avatar incardon
Browse files

Fixing PETSC installation on Archlinux

parent 6321d888
......@@ -214,6 +214,20 @@ if [ ! -d "$i_dir/PETSC" -o ! -d "$i_dir/EIGEN" ]; then
else
inst_lin_alg="y"
fi
### PETSC require Python
command -v python
if [ $? -ne 0 ]; then
### We have to install python
echo "OpenFPM require python but it's not installed, searching a solution... "
solve_python
command -v python
if [ $? -ne 0 ]; then
echo -e "python\033[91;5;1m FAILED \033[0m"
return
fi
fi
fi
lin_alg_dir=""
......
......@@ -26,7 +26,6 @@ else
cmake ../../. -DSHARED=1 -DGKLIB_PATH=../../GKlib -DCMAKE_INSTALL_PREFIX=$1/METIS
fi
make -j $4
mkdir $1/METIS
make install
# Mark the installation
......
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