[openfabrics-ewg] OFED-1.1-rc2 review comments: openib.spec

Jeff Squyres jsquyres at cisco.com
Mon Aug 28 05:38:13 PDT 2006


On 8/27/06 2:18 PM, "Doug Ledford" <dledford at redhat.com> wrote:

>> This *may* be possible for Open MPI, but it'll require an audit.  I have a
>> dim recollection of one of our developers saying a long time ago that this
>> would be quite difficult for OMPI for some obscure reason...
> 
> Nah, wasn't hard.  The OpenMPI binaries are actually mostly links to
> orte* binaries and ortewrapper.  So, just remove the links prior to
> packaging.  It doesn't conflict on the main binary names much at all.

There are a few issues here:

- While the real names of the executables are "orte_*" or "opal_*", users
will expect "mpi*".  So we need those sym links.  Auditing the
creation/removal of those sym links is what I had in mind to ensure that we
did the prefix stuff properly.

- Not only do users expect those filenames, part of our code actually looks
at filename(argv[0]) to determine its behavior (lightbulb -- this might be
what our developer was referring to long ago when he said that prefix stuff
would be problematic).
 
>> This is probably do-able, but *may* require a little more than --libdir and
>> --incdir options to configure (I *think* we did this stuff right, but I
>> would need to check).
> 
> It worked.  They all went where they should.

What I need to check, though, is whether all the internal paths went
properly (there's a few places where we substitute in $incdir and friends to
C code during the build process).  It *should* all work properly, but I'd
want to double check.
  
>> Is there developer-level documentation about how the alternatives stuff
>> works somewhere?
> 
> The man page on the alternatives program is pretty decent actually.

Excellent.  I shall go RTFM.
 
> The OpenMPI package had been put into our internal cvs by someone who is
> no longer with Red Hat, and I inherited it from there.  I then redid a
> reasonable portion of it, and I did reference the openmpi-1.1-1 spec
> that was in an earlier OFED 1.1 rc when doing the work.  But, I couldn't
> tell you how much of your particular setups I might have preserved,
> you'd just need to look through my spec file and see if I kept the
> things you need.
> 
> I'm syncing my latest user space rpms to web page right now so you can
> take a look whenever you want.

Ok.  That's on your http://people.redhat.com/dledford/Infiniband/ page?

All the stuff mentioned above is on my to-do list for this upcoming week.

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems




More information about the ewg mailing list