mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- for future updates of scotch, need to edit these two files:
OpenFOAM-<VERSION>/src/parallel/decompose/Allwmake
ThirdParty-<VERSION>/Allwmake
26 lines
520 B
Bash
Executable File
26 lines
520 B
Bash
Executable File
#!/bin/sh
|
|
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
|
|
wmake libso metisDecomp
|
|
|
|
if [ -d "$FOAM_MPI_LIBBIN" ]
|
|
then
|
|
(
|
|
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB
|
|
wmake libso ptscotchDecomp
|
|
)
|
|
fi
|
|
|
|
wmake libso decompositionMethods
|
|
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|