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

Arnold, Mark arnoldm at cse.ohio-state.edu
Tue Jan 23 11:35:29 EST 2018


Hi Rich,

Depending on how you get your IB drivers, the package you want should be one of the following:

OFED/MOFED - librdmacm-devel

stock installation from repos - rdma-core-devel

-Mark
________________________________________
From: mvapich-discuss-bounces at cse.ohio-state.edu on behalf of RICHARD H D TOWNSEND [townsend at astro.wisc.edu]
Sent: Tuesday, January 23, 2018 10:04 AM
To: Subramoni, Hari
Cc: mvapich-discuss at cse.ohio-state.edu
Subject: Re: [mvapich-discuss] Missing infiniband/ib.h when installing

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


_______________________________________________
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: 5004 bytes
Desc: not available
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20180123/b67ad6ed/attachment.bin>


More information about the mvapich-discuss mailing list