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

Fixing with the lastest modules

parent 14c95abd
No related branches found
No related tags found
No related merge requests found
......@@ -351,6 +351,14 @@ if [ $HDF5_installed -eq 1 ]; then
echo -e " HDF5 has been installed into: \033[1m $i_dir/HDF5 \033[0m"
echo ""
fi
if [ $PARMETIS_installed -eq 1 ]; then
echo ""
echo -e "\033[1;34;5m --------------------------------------- \033[0m"
echo -e "\033[1;34;5m ------------- PARMETIS ---------------- \033[0m"
echo -e " PARMETIS has been installed into: \033[1m $i_dir/PARMETIS \033[0m"
echo ""
fi
echo ""
echo ""
if [ $conf_err -ne 0 ]; then
......
openfpm_data @ 9b090c6d
Subproject commit 163437f74dca3d5020493a44d71c818883666d4e
Subproject commit 9b090c6debddf9db4ab33b6afb892c75d500b389
openfpm_numerics @ eabc19bf
Subproject commit 93344ebd902aab72a16144468a637a9a1fe90701
Subproject commit eabc19bf631717b35aaef25096cac8c270b0d310
......@@ -7,6 +7,9 @@ if [ -d "$1/METIS" ]; then
exit 0
fi
## Remove old download
rm -rf metis-5.1.0
wget http://ppmcore.mpi-cbg.de/upload/metis-5.1.0.tar.gz
tar -xf metis-5.1.0.tar.gz
cd metis-5.1.0
......@@ -26,3 +29,6 @@ make -j 4
mkdir $1/METIS
make install
# Mark the installation
echo 1 > $1/METIS/version
......@@ -74,26 +74,29 @@ function remove_old()
fi
## Check the installed version of the dependencies
cat $1/BOOST/include/boost/version.hpp > /dev/null
if [ $? -eq 0 ]; then
if [ -d $1/BOOST ]; then
is_update=$(cat $1/BOOST/include/boost/version.hpp | grep "#define BOOST_VERSION 106000")
if [ x"$is_update" == x"" ]; then
echo "\033[1;34;5m New boost version, removing the old one \033[0m"
sleep 3
echo -e "\033[1;34;5m --------------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m Boost has been updated to 1.60, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m --------------------------------------------------------------------------- \033[0m"
sleep 5
rm -rf $1/BOOST/include
rm -rf $1/BOOST/lib
rm -rf $1/BOOST
fi
fi
##
cat $1/METIS/version
if [ $? -eq 0 ]; then
## check if the METIS directory exist and the METIS version installed
if [ -d $1/METIS ]; then
version=$(cat $1/METIS/version)
if [ x"$version" != x"1" ]; then
echo -e "\033[1;34;5m New METIS version, removing the old one \033[0m"
sleep 3
echo -e "\033[1;34;5m ------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m METIS has been updated, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m ------------------------------------------------------------------- \033[0m"
sleep 5
rm -rf $1/METIS/include
rm -rf $1/METIS/lib
rm -rf $1/METIS
......
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