Commit 6cf48b7b authored by Henry's avatar Henry
Browse files

Added line and comment concerning the compilation of MPICH2 below 1.5a1

Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=613
parent feadb6c8
...@@ -142,7 +142,12 @@ MPICH) ...@@ -142,7 +142,12 @@ MPICH)
--with-device=ch_p4 \ --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 -j $WM_NCOMPPROCS && make install
make distclean make distclean
if [ -r $MPI_ARCH_PATH ] if [ -r $MPI_ARCH_PATH ]
...@@ -325,11 +330,13 @@ then ...@@ -325,11 +330,13 @@ then
echo " metis libs in $FOAM_EXT_LIBBIN" echo " metis libs in $FOAM_EXT_LIBBIN"
echo echo
else else
(
set -x set -x
cd $METIS_VERSION || exit 1 cd $METIS_VERSION || exit 1
make config shared=1 prefix=$METIS_ARCH_PATH make config shared=1 prefix=$METIS_ARCH_PATH
make -j $WM_NCOMPPROCS install make -j $WM_NCOMPPROCS install
cp $METIS_ARCH_PATH/lib/libmetis.so $FOAM_EXT_LIBBIN cp $METIS_ARCH_PATH/lib/libmetis.so $FOAM_EXT_LIBBIN
)
fi fi
else else
echo " optional component Metis was not found" echo " optional component Metis was not found"
......
Supports Markdown
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