MPIX_Comm_shrink(3)
π NAME π
MPIX_Comm_shrink β bestie, it creates a new communicator from an existing communicator while excluding failed processes. That's it, that's the whole serve. It's the MPI manual page (the "3" is giving library-call energy, iykyk) and honestly it's a short one, so let's get into it. (Also the original spells it "communitor" and I'm obsessed, but you know what it means. Moving on. π )
β¨ SYNOPSIS β¨
int MPIX_Comm_shrink(MPI_Comm comm, MPI_Comm *newcomm)
π«Ά INPUT PARAMETERS π«Ά
commβ the communicator (handle). Yes queen, that's the one you're shrinking. π
π OUTPUT PARAMETERS π
newcommβ the new communicator (handle). It's a pointer, so you're handing over the address and letting the call fill it in. Very "here's my empty cup, put the boba in it" of you. π§
πΈ NOTES πΈ
Not me checking this section three times β there are literally no extra notes here, the original says nothing else. No extra flags, no hidden gotchas, no special values, nothing. The whole page is the function, the two handles, and vibes. π¦
Fr fr, when the manpage is this short, every single detail up there is load-bearing.commin,newcommout, no cap.
That's the whole page, bestie β from the MPI manual, dated 4/10/2026, and the page itself is MPIX_Comm_shrink(3). Short, sweet, done. Slay πβ¨
π¦ where this page comes from
- nixos 26.05: mpich 5.0.1
- ubuntu stonking: mpich-doc 5.0.1-9 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms