Commit f1a9c583 authored by incardon's avatar incardon

Reinstalling Metis and parmetis with 32 bit

parent b623cd97
Pipeline #2008 failed with stages
in 7 minutes and 31 seconds
......@@ -13,7 +13,7 @@ fi
## Remove old download
rm metis-5.1.0.tar.gz
rm -rf metis-5.1.0
wget http://ppmcore.mpi-cbg.de/upload/metis-5.1.0.tar.gz
wget http://openfpm.mpi-cbg.de/upload/metis-5.1.0_32.tar.gz
tar -xf metis-5.1.0.tar.gz
cd metis-5.1.0
......@@ -39,5 +39,5 @@ make -j $4
make install
# Mark the installation
echo 1 > $1/METIS/version
echo 2 > $1/METIS/version
......@@ -25,7 +25,6 @@ else
sed_command=sed
fi
$sed_command -i "/#define\sIDXTYPEWIDTH\s32/c\#define IDXTYPEWIDTH 64" metis/include/metis.h
make config prefix=$1/PARMETIS
make -j $2
......@@ -45,5 +44,5 @@ if [ x"$platform" == x"cygwin" ]; then
fi
# Mark the installation
echo 1 > $1/PARMETIS/version
echo 2 > $1/PARMETIS/version
......@@ -92,7 +92,7 @@ function remove_old()
if [ -d $1/METIS ]; then
version=$(cat $1/METIS/version)
if [ x"$version" != x"1" ]; then
if [ x"$version" != x"2" ]; then
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"
......@@ -105,7 +105,7 @@ function remove_old()
if [ -d $1/PARMETIS ]; then
version=$(cat $1/PARMETIS/version)
if [ x"$version" != x"1" ]; then
if [ x"$version" != x"2" ]; then
echo -e "\033[1;34;5m ---------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m PARMETIS has been updated, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m ---------------------------------------------------------------------- \033[0m"
......
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