I notice from your configure log that you're building Mellanox MXM support.
Does that pull in libibverbs as a dependent library? > On Sep 11, 2018, at 7:23 AM, Mijakovic, Robert <robert.mijako...@lrz.de> > wrote: > > Hi guys, > > I have configured OpenMPI to build without-verbs but the build fails with an > error saying that ld cannot find libverbs. > > Configure: > ==> > '/home/hpc/pr28fa/di52sut/spack_lrz/spack/var/spack/stage/openmpi-3.1.2-jg4gwt4cjfgu66vyq5pox7yavfwzri3m/openmpi-3.1.2/configure' > > '--prefix=/home/hpc/pr28fa/di52sut/spack_lrz/spack/opt/x86_avx2/linux-sles12-x86_64/gcc-7.3.0/openmpi-3.1.2-jg4gwt4cjfgu66vyq5pox7yavfwzri3m' > '--enable-shared' > '--with-wrapper-ldflags=-Wl,-rpath,/lrz/sys/compilers/gcc/7.3.0/lib64' > '--enable-static' '--without-pmi' '--enable-mpi-cxx' > '--with-zlib=/home/hpc/pr28fa/di52sut/spack_lrz/spack/opt/x86_avx2/linux-sles12-x86_64/gcc-7.3.0/zlib-1.2.11-ajxhsmrlv2kvicpk3gdckgrroxr45mdl' > '--without-psm' '--without-psm2' '--without-verbs' > '--with-mxm=/opt/mellanox/mxm' '--without-ucx' '--without-libfabric' > '--without-alps' '--without-lsf' '--without-tm' '--without-slurm' > '--without-sge' '--without-loadleveler' '--disable-memchecker' > '--with-hwloc=/home/hpc/pr28fa/di52sut/spack_lrz/spack/opt/x86_avx2/linux-sles12-x86_64/gcc-7.3.0/hwloc-1.11.9-c4ktzih4jwg673rwwzgy4zvofd75tgvo' > '--disable-java' '--disable-mpi-java' '--without-cuda' > '--enable-cxx-exceptions’ > > Build: > CCLD libmpi.la > /home/hpc/pr28fa/di52sut/spack_lrz/spack/opt/x86_avx2/linux-sles12-x86_64/gcc-7.3.0/binutils-2.31.1-ntosmj7bfrraftmq4jbvwbu6xnt3kbrz/bin/ld: > cannot find -libverbs > > Attach please find the complete log. > > > Thank you for your time. > > Best regards, > Robert > -- > Dr. Robert Mijaković > > Leibniz Supercomputing Centre > HPC Systems and Services > Boltzmannstr. 1 > D-85748 Garching > Room I.2.034 > Phone: +49 89 35831 8734 > Fax: +49 89 35831 9700 > Mobile:+49 (157) 786 605 00 > mailto:robert.mijako...@lrz.de > > <spack-build.out>_______________________________________________ > devel mailing list > devel@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/devel -- Jeff Squyres jsquy...@cisco.com _______________________________________________ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel