Package: libcaf-openmpi-3
Version: 2.2.0-2
Severity: important

Dear Maintainer,

I just updated to the new OpenCoarrays packaging on my x86_64 Sid system.
While updating my meson.build files, I found that the caf-openmpi.pc
pkg-config file installed by package libcoarrays-openmpi-dev assumes the
library will be in /usr/lib/x86_64-linux-gnu/open-coarrays/openmpi/lib/,
whereas package libcaf-openmpi-3 actually installs it in parent
directory /usr/lib/x86_64-linux-gnu/open-coarrays/openmpi/.  I'm guessing
caf-openmpi.pc is right, and your intention was to have libcaf-openmpi-3
install in the lib subdir. Using a temporary modified caf-openmpi.pc
in my PKG_CONFIG_PATH which sets the -L arg to the actual location, I
was able to compile and link a gfortran test program. I tested execution
using mpiexec(1), as cafrun(1) left with removal of the open-coarrays-bin
package. (Forever? I don't expect it to be an issue for me.)

By the way, I haven't tried the MPICH equivalent OpenCoarrays packages.
They might have the same issue (in libcaf-mipch-3).

I probably should file this next item as a separate wishlist item.
The installation of caf-openmpi.pc in
/usr/lib/x86_64-linux-gnu/open-coarrays/openmpi/lib/pkgconfig/ is
outside pkg-config's default global search path. I added the dir to my
PKG_CONFIG_PATH for testing. For the convenience of users, how about a
symlink in /usr/lib/x86_64-linux-gnu/pkgconfig pointing to the installed
caf-openmpi.pc?  In a similar way that libopenmpi-dev installs a symlink
to the actual ompi.pc file.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libcaf-openmpi-3 depends on:
ii  libc6         2.27-6
ii  libgcc1       1:8.2.0-6
ii  libgfortran5  8.2.0-6
ii  libopenmpi3   3.1.2-3
ii  libquadmath0  8.2.0-6

libcaf-openmpi-3 recommends no packages.

libcaf-openmpi-3 suggests no packages.

-- no debconf information

Reply via email to