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

RICHARD H D TOWNSEND townsend at astro.wisc.edu
Tue Jan 23 10:04:28 EST 2018


Hi Hari --

Thanks for the suggestion -- that indeed works around the problem, and MVAPICH2 now compiles without problem (haven't tested yet, though).

What exactly have I disabled with '--disable-rdma-cm'? Also, does anyone have any suggestions regarding which RPM might contain ib.h for OpenSuse?

cheers,

Rich

> On Jan 23, 2018, at 8:51 AM, Subramoni, Hari <subramoni.1 at osu.edu> wrote:
> 
> 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




More information about the mvapich-discuss mailing list