diff --git a/src/parallel/decompose/Allwmake b/src/parallel/decompose/Allwmake index 4c61250b6ab6691ada2db4052ba0437870ef64c9..19257df54593c6b2b47679c72a0497c9409d1daf 100755 --- a/src/parallel/decompose/Allwmake +++ b/src/parallel/decompose/Allwmake @@ -36,6 +36,7 @@ hasMetis() # Library [ -r $FOAM_EXT_LIBBIN/libmetis.so ] || \ + [ -r $METIS_ARCH_PATH/lib/libmetis.so ] || \ [ -r $METIS_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/libmetis.so ] || \ [ "${METIS_ARCH_PATH##*-}" = system ] || { echo "$warning (missing library)" @@ -90,6 +91,7 @@ hasScotch() # Library [ -r $FOAM_EXT_LIBBIN/libscotch.so ] || \ + [ -r $SCOTCH_ARCH_PATH/lib/libscotch.so ] || \ [ -r $SCOTCH_ARCH_PATH/lib$WM_COMPILER_LIB_ARCH/libscotch.so ] || \ [ "${SCOTCH_ARCH_PATH##*-}" = system ] || { echo "$warning (missing library)" diff --git a/src/parallel/decompose/metisDecomp/Make/options b/src/parallel/decompose/metisDecomp/Make/options index b1cce000a224b0c26b948b45f8f2ff35b76083ba..a832e26823f731868fbc1044b18d1c7694068735 100644 --- a/src/parallel/decompose/metisDecomp/Make/options +++ b/src/parallel/decompose/metisDecomp/Make/options @@ -8,6 +8,7 @@ EXE_INC = \ * to support central, non-thirdparty installations */ LIB_LIBS = \ + -L$(METIS_ARCH_PATH)/lib \ -L$(METIS_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \ -L$(FOAM_EXT_LIBBIN) \ -lmetis diff --git a/src/parallel/decompose/ptscotchDecomp/Make/options b/src/parallel/decompose/ptscotchDecomp/Make/options index 9dab60dab532e6a17060875beb81a7fe6f6316a8..51ae4a6662c6b8511af08b1d29ec0a51961b88d0 100644 --- a/src/parallel/decompose/ptscotchDecomp/Make/options +++ b/src/parallel/decompose/ptscotchDecomp/Make/options @@ -16,6 +16,7 @@ EXE_INC = \ * to support central, non-thirdparty installations */ LIB_LIBS = \ + -L$(SCOTCH_ARCH_PATH)/lib \ -L$(SCOTCH_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \ -L$(FOAM_EXT_LIBBIN) \ -L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) \ diff --git a/src/parallel/decompose/scotchDecomp/Make/options b/src/parallel/decompose/scotchDecomp/Make/options index 5cc3e25d8c19332e66727b17a67ee5b1d7cacca3..1ca71f6a6838c717694e731b6e7d6990e0d4b087 100644 --- a/src/parallel/decompose/scotchDecomp/Make/options +++ b/src/parallel/decompose/scotchDecomp/Make/options @@ -16,6 +16,7 @@ EXE_INC = \ * to support central, non-thirdparty installations */ LIB_LIBS = \ + -L$(SCOTCH_ARCH_PATH)/lib \ -L$(SCOTCH_ARCH_PATH)/lib$(WM_COMPILER_LIB_ARCH) \ -L$(FOAM_EXT_LIBBIN) \ -lscotch \