| Summary: | [RHEL-6.8] can't query installed openmpi-1.8 with 'rpm -q' | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Honggang LI <honli> |
| Component: | openmpi | Assignee: | Michal Schmidt <mschmidt> |
| Status: | CLOSED NOTABUG | QA Contact: | Infiniband QE <infiniband-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.8 | CC: | jshortt, mstowell |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-26 12:27:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
openmpi-1.8-1.8.1-5.el6.x86_64
^^^ ^^^
The name looks really weird. Is it necessary to duplicate '1.8' in the name?
[root@rdma-qe-06 ~]$ rpm -q --provides openmpi-1.8 mpi openmpi = 1.8.1-5.el6 openmpi(x86-64) = 1.8.1-5.el6 libmca_common_sm.so.4()(64bit) libmca_common_verbs.so.0()(64bit) libmpi_cxx.so.1()(64bit) libmpi_mpifh.so.2()(64bit) libmpi.so.1()(64bit) libmpi_usempi.so.1()(64bit) libopen-pal.so.6()(64bit) libopen-rte.so.7()(64bit) libopen-trace-format.so.1()(64bit) liboshmem.so.1()(64bit) libotfaux.so.0()(64bit) libvt-mpi-unify.so.0()(64bit) openmpi-1.8 = 1.8.1-5.el6 openmpi-1.8(x86-64) = 1.8.1-5.el6 [root@rdma-qe-06 ~]$ [root@rdma-qe-06 ~]$ rpm -q openmpi-1.8 openmpi-1.8-1.8.1-5.el6.x86_64 In the N-V-R.A string "openmpi-1.8-1.8.1-5.el6.x86_64" the components are: Name: openmpi-1.8 Version: 1.8.1 Release: 5.el6 Arch: x86_64 The name of the binary package really is "openmpi-1.8". This is intentional. We ship more than one compat version of openmpi and we have to distinguish them by the name. See my comment at: https://bugzilla.redhat.com/show_bug.cgi?id=1158864#c11 The latest version of openmpi in RHEL6.8 is called "openmpi-1.10". I am aware this will need proper release notes. Or is it truly necessary for the package to be called "openmpi"? (In reply to Michal Schmidt from comment #4) > The latest version of openmpi in RHEL6.8 is called "openmpi-1.10". > I am aware this will need proper release notes. +1, doc is necessary. > Or is it truly necessary for the package to be called "openmpi"? maybe not. But as you see 'rpm -q openmpi' and 'yum install openmpi' conflict with each other when openmpi-1.8 installed. There should be same issue while openmpi-1.10 installed. (In reply to Honggang LI from comment #5) > But as you see 'rpm -q openmpi' and 'yum install openmpi' > conflict with each other when openmpi-1.8 installed. There should be same > issue while openmpi-1.10 installed. In the 'yum install openmpi' command, the 'openmpi' is a provide name, not necessarily a package name. 'openmpi-1.8' provides 'openmpi', hence yum try to install 'openmpi-1.8'. The package naming here is a bit unusual, but it's valid by RPM rules. |
Description of problem: [root@rdma-qe-06 ~]$ cat /etc/motd| grep -i distro DISTRO=RHEL-6.8-20160212.2 [root@rdma-qe-06 ~]$ rpm -q openmpi package openmpi is not installed [root@rdma-qe-06 ~]$ yum install openmpi Loaded plugins: product-id, search-disabled-repos, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Install Process Package openmpi-1.8-1.8.1-5.el6.x86_64 already installed and latest version Nothing to do [root@rdma-qe-06 ~]$ [root@rdma-qe-06 ~]$ rpm -qa | grep openmpi openmpi-1.8-1.8.1-5.el6.x86_64 openmpi-1.8-devel-1.8.1-5.el6.x86_64 [root@rdma-qe-06 ~]$ Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: [root@rdma-qe-06 ~]$ rpm -q openmpi package openmpi is not installed Expected results: [root@rdma-qe-06 ~]$ rpm -q openmpi openmpi-1.8-1.8.1-5.el6.x86_64 Additional info: