mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- drop FOAM_MPI_LIBBIN variable in favour of FOAM_MPI from which
two different locations can be determined.
Previously there was something like this:
FOAM_MPI_LIBBIN = $FOAM_LIBBIN/openmpi-1.5.1
We now instead determine the locations from the FOAM_MPI directly:
FOAM_MPI=openmpi-1.5.1
$FOAM_LIBBIN/$FOAM_MPI -> OpenFOAM mpi-related
$FOAM_EXT_LIBBIN/$FOAM_MPI -> ThirdPary mpi-related
ENH: relocate ParaView libraries and plugins back under FOAM_LIBBIN
- as discussed with Mattijs
34 lines
659 B
Bash
Executable File
34 lines
659 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
# get SCOTCH_VERSION, SCOTCH_ARCH_PATH
|
|
settings=`$WM_PROJECT_DIR/bin/foamEtcFile apps/scotch/bashrc`
|
|
if [ -f "$settings" ]
|
|
then
|
|
. $settings
|
|
echo "using SCOTCH_ARCH_PATH=$SCOTCH_ARCH_PATH"
|
|
else
|
|
echo
|
|
echo "Error: no apps/scotch/bashrc settings"
|
|
echo
|
|
fi
|
|
set -x
|
|
|
|
wmakeLnInclude decompositionMethods
|
|
|
|
wmake libso scotchDecomp
|
|
wmake libso metisDecomp
|
|
|
|
if [ -d "$FOAM_LIBBIN/$FOAM_MPI" ]
|
|
then
|
|
(
|
|
WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB
|
|
wmake libso ptscotchDecomp
|
|
)
|
|
fi
|
|
|
|
wmake libso decompositionMethods
|
|
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|