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:
@ -151,11 +151,14 @@ else
|
||||
|
||||
# Add InfiniBand support
|
||||
ibDir=/usr/local/ofed
|
||||
ibLib=$infbDIR/lib$WM_COMPILER_LIB_ARCH
|
||||
if [ -d "$ibDir" -a -d "$ibLib" ]
|
||||
for libdir in lib$WM_COMPILER_LIB_ARCH lib
|
||||
do
|
||||
if [ -d "$ibDir/$libdir" ]
|
||||
then
|
||||
configOpt="$configOpt --with-verbs=$ibDir --with-verbs-lib=$ibLib"
|
||||
configOpt="$configOpt --with-verbs=$ibDir --with-verbs-lib=$ibDir/$libdir"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# end of configuration options
|
||||
# ----------------------------
|
||||
|
||||
Reference in New Issue
Block a user