Hi
On Mon, Oct 21, 2024 at 07:40:29AM +0200, Paul Gevers wrote:... And looking at the content of libopenmpi3t64, I'm wondering if you're not violating Policy 8.1 [1] (the names of the files suggest the libraries don't have the same SONAME): """ If you have several shared libraries built from the same source tree, you may lump them all together into a single shared library package provided that all of their SONAMEs will always change together. """Funnily that does not even cover the problem at hand, which is dropping of one of the same-SONAME libraries. You are thinking towards splitting libopenmpi into 9 library packages (one package per library). A relevant question would be whether they are independent, or whether mixing libraries from different OpenMPI versions in one binary might break. If I have a test build of openmpi5 (libnames changed to libopenmpi40) from OpenMPI 4 does not work with libmpi from OpenMPI 5, then co-installability is anyway not an option and having them in one package is the easiest solution.
I have a test build of openmpi5 (libnames changed to libopenmpi40) under test at the moment to prepare for the libopenmpi40 transition.
All of the SONAMES and ABI/APIs are preserved, except for C++ and Java which were not formally standardized I believe. This means that both OpenMPI 4 and OpenMPI 5 are shipping identical libraries libmpi.so.40 and so will clash. I'd need to investigate further if libmpi_cxx.so would cope working with OpenMPI 5+ , but at minimum we would need to ship OpenMPI4 and 5 as separate source packages, with a complex arrangement of OpenMPI 4 only shipping libmpi_cxx.so, which I'm not sure would work.
Longer term, we need to add symbols to OpenMPI to avoid transitions.
Alastair
Paul ...cu Adrian
-- Alastair McKinstry, GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5 e: alastair@mckinstry.ie, im: @alastair:mckinstry.ie @amckinstry@mastodon.ie Commander Vimes didn’t like the phrase “The innocent have nothing to fear,” believing the innocent had everything to fear, mostly from the guilty but in the longer term even more from those who say things like “The innocent have nothing to fear.” - T. Pratchett, Snuff