Bug 178967

Summary: Future of lam - use alternatives
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: lamAssignee: Jason Vas Dias <jvdias>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dakingun, ed
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: lam-7.1.1-11 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-05 18:06:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 181573    
Attachments:
Description Flags
Patch to lam.spec to add support for alternatives
none
Patch to lam.spec to add support for alternatives none

Description Orion Poplawski 2006-01-25 20:40:37 UTC
Created attachment 123687 [details]
Patch to lam.spec to add support for alternatives

Comment 1 Orion Poplawski 2006-01-25 20:40:37 UTC
Description of problem:

As discussed in the thread started here: 

https://www.redhat.com/archives/fedora-devel-list/2006-January/msg00064.html

LAM-MPI is at the end of the road.  openmpi looks like the logical replacement,
and it would be desirable for mpich2 to be able to be installed alongside either
(or both).

So, what to do?  Possibilities:

- In any case, make all (lam, openmpi, mpich2,...) use alternatives system
- replace lam with openmpi in core
- keep lam in core, add openmpi and mpich2 in extras

So, attached is a patch to the lam spec which should allow it to co-exist with
openmpi and mpich2 via alternatives.  It's probably just a start.  We probably
also need to think about how to handle /usr/include/mpi{f}.h and
/usr/lib/libmpi.*.  

It would be fantastic if we could get this in place for FC5.

Comment 2 Deji Akingunola 2006-01-26 03:24:08 UTC
Hi Orion,

It's great you're doing this. For completeness sake, alternatives have to be
created for the man files too for lam to coexists with both mpich(1) and mpich2.

Comment 3 Orion Poplawski 2006-01-26 23:59:06 UTC
Created attachment 123757 [details]
Patch to lam.spec to add support for alternatives

Here's an update that fixes some obvious errors.

As mentioned by Deji, we still need to handle the man pages.  The command man
pages aren't bad.  What looks like trouble is the ~270 API man(3) pages that
conflict with mpich (and possible openmpi sometime in the future).

Comment 4 Jason Vas Dias 2006-02-23 18:41:59 UTC
This bug is now fixed with lam-7.1.1-11 in FC-5 - see bug 173619 .

Comment 5 Jason Vas Dias 2006-02-23 18:43:17 UTC
Oops, should have been 'see bug 173719' .