Does anyone have any opinions on Open MPI v6.x adding Python >=v3.7 as a build requirement?
To unsubscribe from this group and stop receiving emails from it, send an email to ompi-packager...@lists.open-mpi.org.
-------- Forwarded Message --------
Subject: Re: [OMPI packagers] Thoughts on adding Python as a build dependency? Date: Thu, 15 May 2025 15:47:38 +0100 From: Alastair McKinstry <alas...@mckinstry.ie> To: ompi-pa...@lists.open-mpi.org From the Debian/Ubuntu side, no problem, but it would be good to pay attention to any Python dependencies that get sucked in. Is it Just moving to Python3 or a larger project to something like pyproject.toml support, Meson, etc?
When working on large and complex builds (eg ones that have a mixture of C,C++ and Fortran interfaces and libraries, multiple Pythons,etc) its useful to have a build system that (1) has some form of program language structure or classes etc (2) breaks out builds.
For example while in Debian we try to mostly support one (latest) Python instance (in the current Debian 13 release we're working on, python 3.13) we allow for (especially in development) multiple Pythons. So libraries/extensions get built for multiple python versions. In a good build system this might mean calling build in a ./wrappers/python directory multiple times for each supported Python. For a bad one, rebuilding everything (all the C and other libraries) for each Python.
Similarly, in upcoming releases expect that the Fortran libraries may be rebuilt with different Fortran compilers (see my upcoming talk at Debconf on multiple parallel Fortran stacks) for gfortran, flang, etc.
Thanks
Alastair
To unsubscribe from this group and stop receiving emails from it, send an email to ompi-packager...@lists.open-mpi.org.
-- Alastair McKinstry, GPG: 82383CE9165B347C787081A2CBE6BB4E5D9AD3A5 e: alas...@mckinstry.ie, im: @alastair:mckinstry.ie @amcki...@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