compiling nwchem-6.6 with infiniband


Click here for full thread
Just Got Here
Dear Developers,
We have a unix computer with Ubuntu 16 and Infinibands with Verbs protocol. I get this error when I try to compile:
/usr/bin/ld: /opt/nwchem-6.6_infi/nwchem-6.6/src/tools/install/lib/libarmci.a(openib.o): undefined reference to symbol 'ibv_destroy_qp@@IBVERBS_1.1'
//usr/lib/libibverbs.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
GNUmakefile:33: recipe for target 'all' failed
make: *** [all] Error 1

My source file looks like this:
setenv NWCHEM_TOP /opt/nwchem-6.6_infi/nwchem-6.6
setenv NWCHEM_TARGET LINUX64
setenv NWCHEM_MODULES "all python"
setenv FC gfortran

setenv NWCHEM_EXECUTABLE /opt/nwchem-6.6_infi/nwchem-6.6/bin/LINUX64/nwchem
setenv NWCHEM_BASIS_LIBRARY /opt/nwchem-6.6_infi/nwchem-6.6/src/basis/libraries/
setenv NWCHEM_NWPW_LIBRARY /opt/nwchem-6.6_infi/nwchem-6.6/src/nwpw/libraryps/
setenv LARGE_FILES "TRUE"

setenv USE_MPI "y"
setenv USE_MPIF "y"
setenv USE_MPIF4 "y"
setenv MPI_LOC /usr/lib/openmpi
setenv USE_64TO32 "y"
setenv PATH /opt/nwchem-6.6_infi/nwchem-6.6/bin/LINUX64:$PATH
  1. source /usr/lib64/mpi/gcc/openmpi/bin/mpivars.csh
setenv BLASOPT "-lopenblas -lpthread -lrt"
setenv ARMCI_NETWORK OPENIB
setenv IB_INCLUDE /usr/include/infiniband
setenv IB_LIB /usr/lib
setenv IB_LIB_NAME "-libverbs -libumad -lpthread"
setenv USE_PYTHONCONFIG y
setenv PYTHONVERSION 2.7
setenv PYTHONHOME /usr

Before I compiled I typed in
unset PYTHONCONFIGDIR

Why am I getting this error?
Thank you for your help,
Helen Eisenberg