Bug 1461656
Summary: | Lmod has detected the following error: The following module(s) are unknown: "mpi/openmpi-x86_64" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||
Component: | Lmod | Assignee: | Doug Ledford <dledford> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 30 | CC: | anto.trande, dakingun, dledford, dominik, jeff.backus, jskarvad, orion, zbyszek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Lmod-8.1.17-3.fc31 Lmod-8.1.17-3.fc30 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-10-04 20:04:49 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: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Petr Pisar
2017-06-15 06:04:40 UTC
Created attachment 1287965 [details]
Mock build log
For me, mock works.
I think it depends on whether you build the package from a login shell that was started after installing Lmod package or not. I don't have Lmod on my system and shell I launch mock from does not have any modules environment variables, the build fails. I can narrow it to: $ set | grep -i mod # dnf --allowerasing install Lmod openmpi $ . /etc/profile.d/modules.sh; module load mpi/openmpi-x86_64 Lmod has detected the following error: The following module(s) are unknown: "mpi/openmpi-x86_64" Please check the spelling or version number. Also try "module spider ..." It is also possible your cache file is out-of-date; it may help to try: $ module --ignore-cache load "mpi/openmpi-x86_64" Also make sure that all modulefiles written in TCL start with the string #%Module I think this is a bug in %_openmpi_load macro defined in /usr/lib/rpm/macros.d/macros.openmpi-x86_64. It does not work in this case. The /usr/lib/rpm/macros.d/macros.openmpi-x86_64 belongs to openmpi-devel-2.0.2-2.fc26.x86_64. Reassigning to openmpi. I wonder if this is caused by bug #1450516 - mock no longer providing a login shell with systemd-nspawn - which should be fixed in git, but I don't know what version the builders are running. I have mock-1.4.1-1.fc25 and I use the nspawn method. Passing --old-chroot option to the mock tool does not help. It's probably triggered by the bug #1450516. But I still think the %_openmpi_load should deal with it. Adding . /etc/profile.d/00-modulepath.sh; before %_openmpi_load macro helps. This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. I also hit it when rebasing HPL. This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. while biontgen is building fine, I still can reproduce the openmpi error as described in comment #2 in Fedora 30 with openmpi-2.1.5-1.fc30.x86_64 and Lmod-7.8.9-1.fc30.x86_64. This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle. Changing version to '30. FEDORA-2019-11f1caa62c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-11f1caa62c FEDORA-2019-2076eab79f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2076eab79f Lmod-8.1.17-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-11f1caa62c Lmod-8.1.17-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2076eab79f FEDORA-2019-45658909b0 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-45658909b0 FEDORA-2019-11f1caa62c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-11f1caa62c Lmod-8.1.17-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-45658909b0 Lmod-8.1.17-3.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-11f1caa62c Lmod-8.1.17-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. Lmod-8.1.17-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |