[ewg] Re: Dependency of openmpi in mpi-selector. Is it necessary?

Jeff Squyres jsquyres at cisco.com
Thu Apr 23 11:59:35 PDT 2009


On Apr 23, 2009, at 9:28 AM, Moni Shoua wrote:

> In spec file of openmpi there is a boolean option called ofed.
> When it is true, among other things, it makes openmpi to depend
> on mpi-selector.
> Why not leave it to the user to decide whether to use (and install)  
> mpi-selector
> or not. This can also create a conflict between mpi-selector that  
> comes with ofed and the one
> that is already installed.
>

If you remove the "%define use_mpi_selector 1" line, then the Open MPI  
RPM won't automatically register itself with mpi-selector.  This could  
probably be fixed (e.g., only register in %post and %preun if 'which  
mpi-selector' returns non-empty), but then you can run into ordering  
issues where if you "rpm -ivh .. mpi-selector .. openmpi", there's no  
guarantee that mpi-selector will be installed first.  So Open MPI's  
RPM could be installed first, and therefore 'which mpi-selector' will  
be empty, but then mpi-selector will be installed later and Open MPI  
won't be registered.

-- 
Jeff Squyres
Cisco Systems




More information about the ewg mailing list