F23 Self Contained Change: RPM MPI Requires Provides

Orion Poplawski orion at cora.nwra.com
Tue Jul 21 16:03:05 UTC 2015


On 07/21/2015 09:45 AM, Sandro Mani wrote:
> 
> 
> On 21.07.2015 17:41, Orion Poplawski wrote:
>> On 07/17/2015 09:50 AM, Sandro Mani wrote:
>>> Yep - I'm now building things in copr [1].
>>>
>>>
>>> [1] https://copr.fedoraproject.org/coprs/smani/rpm-mpi-hooks-testing/
>> Great.  Looks like you need to build a newer openmpi package in your copr
>> since I updating it to 1.8.7 in rawhide.
> Yes - I'm having some problems with yum in copr not resolving the
> dependencies, i.e.
> 
> DEBUG util.py:378:  Error: Package: blacs-openmpi-2.0.2-8.1.fc24.x86_64
> (coprbecloudfedoraprojectorg_results_smani_rpmmpihookstesting_fedorarawhidex86_64_)
> 
> DEBUG util.py:378:             Requires:
> libmpi_mpifh.so.2()(64bit)(openmpi-x86_64)
> DEBUG util.py:378:             Available: openmpi-1.8.6-1.2.fc24.x86_64
> (coprbecloudfedoraprojectorg_results_smani_rpmmpihookstesting_fedorarawhidex86_64_)
> 
> DEBUG util.py:378:                 libmpi_mpifh.so.2()(64bit)(openmpi-x86_64)
> DEBUG util.py:378:             Available: openmpi-devel-1.8.6-1.2.fc24.x86_64
> (coprbecloudfedoraprojectorg_results_smani_rpmmpihookstesting_fedorarawhidex86_64_)
> 
> DEBUG util.py:378:                 libmpi_mpifh.so.2()(64bit)(openmpi-x86_64)
> DEBUG util.py:378:             Available: openmpi-1.8.7-1.fc24.i686 (fedora)
> DEBUG util.py:378:                 Not found
> DEBUG util.py:378:             Available: openmpi-devel-1.8.7-1.fc24.i686
> (fedora)
> DEBUG util.py:378:                 Not found
> 
> but cannot reproduce this locally (neither with dnf nor with yum-deprecated).
> Haven't had time to investigate properly yet though (oh and the -devel
> packages definitely should not be providing the libraries).

Again, you need to build a new openmpi in your copr that's newer than the
1.8.7-1 in Fedora now.

For the -devel issue, we need:

%__mpi_magic            ^(setuid )?(setgid )?(sticky )?ELF (32|64)-bit.*$
%__mpi_flags            exeonly

to match the %__elf_* options.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the devel mailing list