Package: openmpi-common
Version: 4.1.2-1
Severity: important

mpif90.openmpi is configured normally, e.g.
  $ mpif90.openmpi --version
  GNU Fortran (Debian 11.2.0-17) 11.2.0

But the mpifort.openmpi configuration is broken, more precisely,
missing:
  $ mpifort.openmpi --version
  Cannot open configuration file 
/usr/share/openmpi/mpifort.openmpi-wrapper-data.txt
  Error parsing data file mpifort.openmpi: Not found

Sure enough, /usr/share/openmpi/mpifort.openmpi-wrapper-data.txt is
indeed missing.  mpifort-wrapper-data.txt is there, but not the
openmpi-specific variant mpifort.openmpi-wrapper-data.txt

I gather it contains profile information for mpifort.openmpi to know
where to get its configuration and library references from.  Evidently
opalwrapper is not smart enough to know to read
openmpi/mpifort-wrapper-data.txt instead.

/usr/share/openmpi/mpif90.openmpi-wrapper-data.txt exists and is a
symlink to mpif90-wrapper-data.txt

The fix is simple, /usr/share/openmpi/mpifort.openmpi-wrapper-data.txt
needs to be created as a symlink to mpifort-wrapper-data.txt

debian/openmpi-common.links would be the place for it,
alongside the other links.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openmpi-bin depends on:
ii  libc6                        2.33-7
ii  libevent-core-2.1-7          2.1.12-stable-1
ii  libopenmpi3                  4.1.2-1
ii  openmpi-common               4.1.2-1
ii  openssh-client [ssh-client]  1:8.9p1-2

openmpi-bin recommends no packages.

Versions of packages openmpi-bin suggests:
ii  gfortran [fortran-compiler]  4:11.2.0-2

-- no debconf information

Reply via email to