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

Subramoni, Hari subramoni.1 at osu.edu
Tue Jan 23 09:51:44 EST 2018


Hello.

It looks like all components may not have been installed during your OFED installation. Can you please re-configure MVAPICH2 after adding --disable-rdma-cm and see if you're able to get around this error?

Thx,
Hari.

-----Original Message-----
From: mvapich-discuss-bounces at cse.ohio-state.edu On Behalf Of RICHARD H D TOWNSEND
Sent: Tuesday, January 23, 2018 3:45 PM
To: mvapich-discuss at cse.ohio-state.edu <mvapich-discuss at mailman.cse.ohio-state.edu>
Subject: [mvapich-discuss] Missing infiniband/ib.h when installing

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


_______________________________________________
mvapich-discuss mailing list
mvapich-discuss at cse.ohio-state.edu
http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4400 bytes
Desc: not available
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20180123/e60ab07b/attachment.bin>


More information about the mvapich-discuss mailing list