mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
Added line and comment concerning the compilation of MPICH2 below 1.5a1
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=613
This commit is contained in:
7
Allwmake
7
Allwmake
@ -142,7 +142,12 @@ MPICH)
|
||||
--with-device=ch_p4 \
|
||||
;
|
||||
|
||||
# For MPICH2 below 1.5a1 uncomment this line and comment next
|
||||
# make && make install
|
||||
|
||||
# For MPICH2 1.5a1 or above
|
||||
make -j $WM_NCOMPPROCS && make install
|
||||
|
||||
make distclean
|
||||
|
||||
if [ -r $MPI_ARCH_PATH ]
|
||||
@ -325,11 +330,13 @@ then
|
||||
echo " metis libs in $FOAM_EXT_LIBBIN"
|
||||
echo
|
||||
else
|
||||
(
|
||||
set -x
|
||||
cd $METIS_VERSION || exit 1
|
||||
make config shared=1 prefix=$METIS_ARCH_PATH
|
||||
make -j $WM_NCOMPPROCS install
|
||||
cp $METIS_ARCH_PATH/lib/libmetis.so $FOAM_EXT_LIBBIN
|
||||
)
|
||||
fi
|
||||
else
|
||||
echo " optional component Metis was not found"
|
||||
|
||||
Reference in New Issue
Block a user