[Users] ofed 4.8.1: opemsm infiniband-diags build time circular dependency?

daggs daggs at gmx.com
Fri Nov 10 06:57:40 PST 2017


Greetings Hal,

>Hi Dagg,
> 
>On Fri, Nov 10, 2017 at 3:44 AM, daggs <daggs at gmx.com[mailto:daggs at gmx.com]> wrote:Greetings,
>
>>I need to build a local version of opensm and infiniband-diags to bringup a mlx based fabric.
> 
>Why do you need a local version to do this ? Do you plan on making modifications for this fabric or just want to run these tools on that fabric where some machine is attached to >multiple disjoint fabrics/subnets ?
mainly because the distro I use doesn't have the 4.8.1 in its repo, in addition as I don't have root permissions, I'm to install it on to my home folder.

> 
> 
>Anyhow, there is --prefix option to configure where things are installed.
my apologies, not sure how --prefix can help my issue.

> 
>Note also that before running OpenSM, you need to configure things in the options/conf file  so it does not step on various files that your primary OpenSM.
I know, thing is, if I run configure on opensm it complains that libumand is missing.
if I run configure on infiniband-diags, it complains opensm is missing.

>>I'm not using rpm based distro so I need to compile the code myself.
> 
>Are you looking to build specific versions or from latest source ? There are tar balls for the specific versions and the latest sources are available in various git repos.
I've searched ofed download on google, got to the ofed alliance web page, clicked download,and selected 4.8.1 from the folder (latest rc).

>>I've looked into the build dependencies of the two pkgs mentioned above, I both state that I need libibumad-devel, first glance on the tar file reveals there is no libibumad rpm.
> 
>libibumad is needed for both infiniband-diags and OpenSM. It must be built and installed first.
> 
>Recently, libibmad was incorporated into infiniband-diags so it depends on which version you want to use as to whether you need to build libibmad separately and priot to >infiniband->diags, which should be built last.
>>so I've looked into the other rpms and found it inside of infiniband-diags.
>>looking on the build dependencies of infiniband-diags shows it needs opensm thus creating a circular dependency issue.
> 
>infiniband-diags depends on some things like node-name-map support and ib_types.h so OpenSM needs to be built next and finally libibmad/infiniband-diags last.
that is my question, how can I build libibumad when it merged into infiniband-diags? is there a specific target?

>>how can I build both packages? I cannot install any old versions on there pkgs.
> 
>Not sure what you mean by the last statement "can't install any old versions on there pkgs".
see the first answer.

Thanks,

Dagg.



More information about the Users mailing list