ENH: metis: use PrecisionAdaptor to support 64 bit indices

This commit is contained in:
mattijs
2019-06-13 20:52:48 +01:00
committed by Andrew Heather
parent da07aa9ac0
commit 01ea3cc790
5 changed files with 92 additions and 81 deletions

View File

@ -107,7 +107,7 @@ have_metis()
# ----------------------------------
local good label
local label
# Ensure consistent sizes between OpenFOAM and metis header
# Extract IDXTYPEWIDTH from metis.h: regex as per ThirdParty Allwmake
@ -116,18 +116,6 @@ have_metis()
"$header")
: "${label:=unknown}"
if [ "$WM_LABEL_SIZE" = "$label" ]
then
good=true
else
if [ -n "$warn" ]
then
echo "$warn (label=$WM_LABEL_SIZE, ${header##*/} has '$label')"
fi
no_metis
return 1
fi
# OK
echo "metis (label=$label) - $prefix"
export HAVE_METIS=true