Skip to content
Snippets Groups Projects
Commit 08b27669 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: install scotch files under ThirdyParty platforms/

- for future updates of scotch, need to edit these two files:

    OpenFOAM-<VERSION>/src/parallel/decompose/Allwmake
    ThirdParty-<VERSION>/Allwmake
parent f015bc0c
Branches
Tags
No related merge requests found
......@@ -2,6 +2,10 @@
cd ${0%/*} || exit 1 # run from this directory
set -x
SCOTCH_VERSION=scotch_5.1.10b
SCOTCH_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$SCOTCH_VERSION
export SCOTCH_ARCH_PATH
wmakeLnInclude decompositionMethods
wmake libso scotchDecomp
......@@ -9,7 +13,10 @@ wmake libso metisDecomp
if [ -d "$FOAM_MPI_LIBBIN" ]
then
( WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB; wmake libso ptscotchDecomp )
(
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB
wmake libso ptscotchDecomp
)
fi
wmake libso decompositionMethods
......
......@@ -3,7 +3,7 @@ sinclude $(RULES)/mplib$(WM_MPLIB)
EXE_INC = \
$(PFLAGS) $(PINC) \
-I$(WM_THIRD_PARTY_DIR)/scotch_5.1.10b/include \
-I$(SCOTCH_ARCH_PATH)/include \
-I/usr/include/scotch \
-I../decompositionMethods/lnInclude
......
EXE_INC = \
-I$(WM_THIRD_PARTY_DIR)/scotch_5.1.10b/include \
-I$(SCOTCH_ARCH_PATH)/include \
-I/usr/include/scotch \
-I../decompositionMethods/lnInclude
......
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