mirror of
https://develop.openfoam.com/Development/ThirdParty-common.git
synced 2025-12-08 06:57:50 +00:00
COMP: incorrect verbs library directory used (closes #21)
This commit is contained in:
13
makeOPENMPI
13
makeOPENMPI
@ -151,11 +151,14 @@ else
|
|||||||
|
|
||||||
# Add InfiniBand support
|
# Add InfiniBand support
|
||||||
ibDir=/usr/local/ofed
|
ibDir=/usr/local/ofed
|
||||||
ibLib=$infbDIR/lib$WM_COMPILER_LIB_ARCH
|
for libdir in lib$WM_COMPILER_LIB_ARCH lib
|
||||||
if [ -d "$ibDir" -a -d "$ibLib" ]
|
do
|
||||||
then
|
if [ -d "$ibDir/$libdir" ]
|
||||||
configOpt="$configOpt --with-verbs=$ibDir --with-verbs-lib=$ibLib"
|
then
|
||||||
fi
|
configOpt="$configOpt --with-verbs=$ibDir --with-verbs-lib=$ibDir/$libdir"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# end of configuration options
|
# end of configuration options
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user