Files
OpenFOAM-5.x/src/fvAgglomerationMethods/Allwmake
2016-02-15 18:30:24 +00:00

32 lines
710 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Parse arguments for library compilation
targetType=libso
. $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
set -x
export ParMGridGen=$WM_THIRD_PARTY_DIR/ParMGridGen-1.0
if [ -e "$FOAM_LIBBIN/libMGridGen.so" ]
then
wmake $targetType MGridGenGamgAgglomeration
fi
wmake $targetType pairPatchAgglomeration
## get SCOTCH_VERSION, SCOTCH_ARCH_PATH
if settings=`$WM_PROJECT_DIR/bin/foamEtcFile config.sh/scotch`
then
. $settings
echo "using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH"
else
echo
echo "Error: no config.sh/scotch settings"
echo
fi
#------------------------------------------------------------------------------