The openmpi-devel package does not properly install pkg-config files, making it difficult to compile mpi-using software without fiddling with fedora-specific paths. I am using Fedora 25 with the openmpi-devel package in version 1.10.5. How to reproduce: after installing `openmpi-devel`, `pkg-config --cflags ompi` prints: > Package ompi was not found in the pkg-config search path. > Perhaps you should add the directory containing `ompi.pc' > to the PKG_CONFIG_PATH environment variable > No package 'ompi' found However, notice that `rpm -ql openmpi-devel | grep pkgconfig` returns the following, which suggests that pkg-config integration *was* planned for this package: > /usr/lib64/openmpi/lib/pkgconfig > /usr/lib64/openmpi/lib/pkgconfig/ompi-c.pc > /usr/lib64/openmpi/lib/pkgconfig/ompi-cxx.pc > /usr/lib64/openmpi/lib/pkgconfig/ompi-f77.pc > /usr/lib64/openmpi/lib/pkgconfig/ompi-f90.pc > /usr/lib64/openmpi/lib/pkgconfig/ompi-fort.pc > /usr/lib64/openmpi/lib/pkgconfig/ompi.pc > /usr/lib64/openmpi/lib/pkgconfig/orte.pc People on the web document ugly workaround for the lack of pkg-config support. See http://www.cybaea.net/journal/2009/06/12/R-tips-Installing-Rmpi-on-Fedora-Linux/ for example. Note: this seems closely related to the bug 221343, back in 2007-2008, which reported that no "openmpi" package was available, and was closed on a claim that Fedora 8 fixed the issue. There is no "openmpi" package on my machine (try with `pkg-config --cflags openmpi`), and upstream seems to use "ompi" as the pkg-config name now: https://github.com/open-mpi/ompi/blob/8558def8580e5681868b8b49ede57a6870b80075/ompi/tools/wrappers/ompi.pc.in
Well, you're expected to load the module first: # module load mpi/openmpi-x86_64 # pkg-config --cflags ompi -pthread -I/usr/include/openmpi-x86_64 -I/usr/include/openmpi-x86_64/ But it is true that since the pkgconfig modules are named "ompi*" and "orte", there is no conflict with the other MPI implementations, and we could have them in the main pkgconfig directory.
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. 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 '25'. 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 25 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.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.