Bug 1839580 - pkg-config error for scalapack with openmpi; requires 'mpi' not 'ompi'
Summary: pkg-config error for scalapack with openmpi; requires 'mpi' not 'ompi'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: scalapack
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-24 21:42 UTC by Jonas L. B.
Modified: 2020-06-26 00:46 UTC (History)
4 users (show)

Fixed In Version: scalapack-2.1.0-3.fc32
Clone Of:
Environment:
Last Closed: 2020-06-26 00:46:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonas L. B. 2020-05-24 21:42:02 UTC
Description of problem:

Installing scalapack-openmpi-devel provides scalapack.pc in /usr/lib64/openmpi/lib/pkgconfig. In this file, it is specified that scalapack requires 'mpi', but openmpi goes under the name 'ompi' (there's an ompi.pc file). 
This means that when pkg-config is queried eg. for libs or version (with PKG_CONFIG_PATH set to include this directory) for scalapack, an error occurs:

```
Package mpi was not found in the pkg-config search path.
Perhaps you should add the directory containing `mpi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'mpi', required by 'scalapack', not found
```

Changing the requirement from 'mpi' to 'ompi' fixes the issue.

Version-Release number of selected component (if applicable):
2.1.0-2.fc32

How reproducible:
Always

Steps to Reproduce:
Described above

Actual results:
pkg-config error

Expected results:
pkg-config queries on scalapack give results

Additional info:
I am experimenting a bit with meson for a project that uses scalapack. This issue means meson currently cannot find scalapack (without the workaround) as it uses pkg-config.

Comment 1 Fedora Update System 2020-06-17 18:52:51 UTC
FEDORA-2020-5a53f9ed03 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-5a53f9ed03

Comment 2 Fedora Update System 2020-06-18 14:14:13 UTC
FEDORA-2020-5a53f9ed03 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-5a53f9ed03`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-5a53f9ed03

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-06-26 00:46:09 UTC
FEDORA-2020-5a53f9ed03 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.