From 9340ebc0bc6f798cd694333b963fb078c72531ae Mon Sep 17 00:00:00 2001 From: Serhii Yaskovets <yaskovet@mpi-cbg.de> Date: Mon, 7 Aug 2023 17:08:39 +0200 Subject: [PATCH] Compile Parmetis with -fPIC (fix intel compiler '.rodata.str1.32' error --- script/install_Parmetis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/install_Parmetis.sh b/script/install_Parmetis.sh index ad6eae00b..5ca6edae7 100755 --- a/script/install_Parmetis.sh +++ b/script/install_Parmetis.sh @@ -28,7 +28,7 @@ fi $sed_command -i "/#define\sIDXTYPEWIDTH\s32/c\#define IDXTYPEWIDTH 64" metis/include/metis.h -make config prefix=$1/PARMETIS +CFLAGS=-fPIC make config prefix=$1/PARMETIS make -j $2 if [ $? -ne 0 ]; then echo "PARMETIS error installing" -- GitLab