libmpich12 on bionic installs libmpich.so.0.0.0

Asked by Clement Magnard

Hello,

I would like to know the package libmpich12 is installing libmpich.so.0.0.0.
From what I see all the other versions(xenial, eon, focal) it installs libmpich.12.x.x

Regards,
Clement

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu mpich Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; apt-cache policy libmpich12

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2
Revision history for this message
Clement Magnard (deltova) said :
#3

You can see that in the bionic filelist of libmpich12 the lib is libmpich.so.0.0.0:
https://packages.ubuntu.com/bionic/amd64/libmpich12/filelist
And for eon(and the others) it's libmpich.so.12.x.x:
https://packages.ubuntu.com/eoan/amd64/libmpich12/filelist

Here you have the result of the following command:
lsb_release -a; uname -a; apt-cache policy libmpich12
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
Linux clement-COMPUTER 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
libmpich12:
  Installed: 3.3~a2-4
  Candidate: 3.3~a2-4
  Version table:
 *** 3.3~a2-4 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Exactly, so where doeslibmpich.so.0.0.0 come from please?

The packages only install the files listed and none contain libmpich.so.0.0.0

Am I missing something?

Revision history for this message
Clement Magnard (deltova) said :
#5

With that link you can see that the package contains libmich.so.0.0.0 for bionic
https://packages.ubuntu.com/bionic/amd64/libmpich12/filelist

Also after installing the libmpich12 on bionic:
 ls -l /usr/lib/x86_64-linux-gnu/libmpich.so*
lrwxrwxrwx 1 root root 17 Sep 25 2017 /usr/lib/x86_64-linux-gnu/libmpich.so -> libmpich.so.0.0.0
lrwxrwxrwx 1 root root 17 Sep 25 2017 /usr/lib/x86_64-linux-gnu/libmpich.so.0 -> libmpich.so.0.0.0
-rw-r--r-- 1 root root 2602616 Sep 25 2017 /usr/lib/x86_64-linux-gnu/libmpich.so.0.0.0

And on eon:
ls -l /usr/lib/x86_64-linux-gnu/libmpich.so*
lrwxrwxrwx 1 root root 18 Mar 18 2019 /usr/lib/x86_64-linux-gnu/libmpich.so.12 -> libmpich.so.12.1.6
-rw-r--r-- 1 root root 3259720 Mar 18 2019 /usr/lib/x86_64-linux-gnu/libmpich.so.12.1.6

Revision history for this message
Clement Magnard (deltova) said :
#6

Also when you search "libmpich.so.0.0.0" on bionic you find that the libmpich12 package contains it:
https://packages.ubuntu.com/search?suite=bionic&arch=any&mode=exactfilename&searchon=contents&keywords=libmpich.so.0.0.0

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

My assumption is that this is caused by the fact, that the version in Ubuntu bionic is a pre-release version (3.3~a2-4).

If this causes problems for you, then you should create a bug report.

@actionparsnip: This only relates to bionic (and the no longer supported artful and cosmic releases).

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#8

If you need a fix for the bug in previous versions of Ubuntu, please perform as much as possible of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#9

I'm also pretty sure that soname change is something that can't be done on stable releases updates...

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

@Kai Kasurinen:
Quote: "I'm also pretty sure that soname change is something that can't be done on stable releases updates..."

The question is, why is the soname missing for bionic, if xenial already had "12"?

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#11

> My assumption is that this is caused by the fact, that the version in Ubuntu bionic is a pre-release version (3.3~a2-4).

I agree. mpich-3.3\~a2/maint/version.m4 file contains "m4_define([libmpi_so_version_m4],[0:0:0])dnl" and commit:
https://github.com/pmodels/mpich/commit/7e0f71687406f82d0fa40dcf145dcb68c4fa9dbf#diff-26a2e51593cabff1a66e3bad52c6f8e8

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#12

on bionic:

libmpich12
Reverse Depends:
  libmpich-dev
  libmpich12-dbgsym
  yorick-mpy-mpich2
  scalapack-mpi-test
  netpipe-mpich2
  mpqc3
  mpich
  mocassin
  libtachyon-mpich-0
  libscalapack-mpich2.0
  bagel
  libmeep-mpich2-8
  libhdf5-mpich-100
  gromacs-mpich
  form

I looked some of these.; some uses soname libmpich.so.0 (form, mpqc3) and some uses soname libmpichfort.so.12 (mocassin).

---

Looks like mistake noticed only recently on Debian:
"Increment soversion in experimental release (Currently not set in upstream alpha releases; this is for experimental only, not debian unstable)"
https://tracker.debian.org/news/1120428/accepted-mpich-34a2-3-source-amd64-all-into-experimental-experimental/

Can you help with this problem?

Provide an answer of your own, or ask Clement Magnard for more information if necessary.

To post a message you must log in.