<br><br>
<div class="gmail_quote">On Thu, Sep 17, 2009 at 6:11 PM, Ira Weiny <span dir="ltr"><<a href="mailto:weiny2@llnl.gov">weiny2@llnl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Thu, 17 Sep 2009 14:49:50 -0700<br>
<div class="im">"Sean Hefty" <<a href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</a>> wrote:<br><br></div>
<div>
<div></div>
<div class="h5">> >I'm not sure this is a good idea. ibutils (ibis and ibmgtsim) wants ib_types.h<br>> >but does not want libibumad.<br>><br>> Well, libibumad is pretty useless without some network structure definitions.<br>
> Currently, the alternatives are to install opensm, which also requires<br>> installing libibmad, libibcommon, and complib, or for the app to define what<br>> they need, which is what was done here.  I'm not sure how you pick up ib_types.h<br>
> without libibumad getting installed, but you can make a reasonable argument that<br>> libibumad should define the MAD and SA attribute structures.<br><br></div></div>Actually, now that I think about it...  does ibutils depend on OpenSM then? </blockquote>

<div> </div>
<div>I think it has to as it uses the OpenSM vendor layer (at least ibis). ibmgtsim is another story.</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> I would think that it would be better to have it depend on ibumad rather than OpenSM...<br></blockquote>
<div> </div>
<div>This may be historical but it was built on the OpenSM vendor layer before there was umad.</div>
<div> </div>
<div>Mellanox is best to comment on these aspects.</div>
<div> </div>
<div>-- Hal</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>:-/  Ok I think I am starting to see why you mention this...  Does ibutils actually link with anything?  It looks like ibutils is using the inline functions to effectively make a "static" link to this functionality?  I don't see any dependencies on any libs in the Makefile.am's.  Is that correct?  :-/<br>
<br>In this case I don't know that it matters if we move the header.  However, it would matter if we moved the inline functions...<br><br>Does ibutils form it's own packets and open the mad devices on it's own, outside of ibumad?  From my quick look it seems it would have to.<br>

<div>
<div></div>
<div class="h5"><br>Ira<br><br>><br>> - Sean<br>><br><br><br>--<br>Ira Weiny<br>Math Programmer/Computer Scientist<br>Lawrence Livermore National Lab<br>925-423-8008<br><a href="mailto:weiny2@llnl.gov">weiny2@llnl.gov</a><br>
</div></div></blockquote></div><br>