Fedora Account System
Red Hat Associate
Red Hat Customer
On Fedora 40, the flang-18.1.6-1.fc40 package provides a /usr/include/flang/omp_lib.mod file that's needed for: $ cat test.f90 program test use omp_lib implicit none integer :: n n = omp_get_num_threads() end program $ flang-new -fopenmp test.f90 On Fedora 41, the flang-19.1.0-1.fc41 package does not provide the file: $ flang-new -fopenmp test.f90 ... ./test.f90:2:7: error: Cannot read module file for module 'omp_lib': Source file 'omp_lib.mod' was not found Reproducible: Always
FEDORA-2024-5e2398a24a (flang-19.1.0-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e2398a24a
FEDORA-2024-5e2398a24a has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-5e2398a24a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-5e2398a24a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
I updated to `flang` version `19.1.0-2.fc41` via FEDORA-2024-5e2398a24a and can confirm the problem is fixed, thanks!
FEDORA-2024-5e2398a24a (flang-19.1.0-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.