[mvapich-discuss] Missing infiniband/ib.h when installing

RICHARD H D TOWNSEND townsend at astro.wisc.edu
Tue Jan 23 09:45:20 EST 2018


Hi folks --

I'm attempting to compile and install mvapich2-2.3b on a rather old Linux cluster (OpenSuse 11; Linux 2.6.25). When I configure using

./configure --build=x86_64-pc-linux-gnu --prefix=/home/townsend/madsdk --with-device=ch3:mrail --disable-shared

and then run

make -j8,

the compilation proceeds smoothly for some time before crashing with the following error:

  CC       src/mpid/ch3/channels/common/src/reg_cache/lib_libmpi_la-dreg.lo
In file included from src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_init.c:27:0:
/home/townsend/devel/madsdk-src/mvapich/src/mpid/ch3/channels/common/include/rdma_cm.h:29:10: fatal error: infiniband/ib.h: No such file or directory
 #include <infiniband/ib.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/mpid/ch3/channels/mrail/src/gen2/lib_libmpi_la-rdma_iba_init.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from src/mpid/ch3/channels/mrail/src/gen2/rdma_iba_priv.c:18:0:
/home/townsend/devel/madsdk-src/mvapich/src/mpid/ch3/channels/common/include/rdma_cm.h:29:10: fatal error: infiniband/ib.h: No such file or directory
 #include <infiniband/ib.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/mpid/ch3/channels/mrail/src/gen2/lib_libmpi_la-rdma_iba_priv.lo] Error 1

I've checked in /usr/include/infiniband, and there's no ib.h header. But I don't know where to get it from.

cheers,

Rich




More information about the mvapich-discuss mailing list