MPI_Win_Test(3)
π« MPI_Win_Test β the LAM/MPI manual page, bestie edition π«
okay so picture this: you're deep in the LAM/MPI manual (yes, that LAM/MPI, the MPI_Win_Test(3) one) and you land on this page. it's giving "window progress check" energy and honestly? let's get into it. πͺβ¨
π NAME π
MPI_Win_Test β literally just testing for progress on a window. that's the whole gig. she's a vibe checker for your window. π
πΈ SYNOPSIS πΈ
#include <mpi.h>
int MPI_Win_test(MPI_Win win, int *flag)
look at her. so short. so iconic. π¦
β¨ INPUT PARAMETERS β¨
winβ the window, as a handle. your window. the one you're checking on. treat her well π«Ά
π OUTPUT PARAMETERS π
flagβ an (integer). yes bestie, that's the entire description, i'm not hiding anything from you, the manpage just said that and i respect the manpage π
π₯ NOTES π₯
not me having to tell you this π β this function is currently not implemented in LAM/MPI. like, at all. she's not built. she doesn't exist yet.
and because she doesn't exist, calling her will return an MPI_ERR_OTHER run time error. so like... don't expect progress. expect an error. that's the whole tea. π
π NOTES FOR FORTRAN π
fortran besties, this section is for YOU, and it's important, so no scrolling past it π
- every MPI routine in Fortran (with the two iconic exceptions:
MPI_WTIMEandMPI_WTICK) gets an additional argument at the very end of the argument list, and that argument is namedierr. ierris an integer, and it means exactly the same thing as the return value of the routine in C. same energy, different language. β¨- in Fortran, MPI routines are subroutines, and you invoke them with the
callstatement. periodt. - and one more thing: all MPI objects (for example
MPI_Datatype,MPI_Comm) are of typeINTEGERin Fortran. all of them. every single one. π
π LOCATION π
wtest.c
that's where she lives. that's her address. π
π¦ a lil sign-off π¦
this lil masterpiece comes to you from LAM/MPI 7.1.4, dated 6/24/2006. old? yes. iconic? also yes. she's been sitting in the docs this whole time waiting for you to read her, and now you have. slay π πβ¨
π¦ where this page comes from
- debian bookworm: lam-mpidoc 7.1.4-7
- debian trixie: lam-mpidoc 7.1.4-7.2
- ubuntu jammy: lam-mpidoc 7.1.4-7
- ubuntu noble: lam-mpidoc 7.1.4-7.1build2
- ubuntu questing: lam-mpidoc 7.1.4-8
- ubuntu resolute: lam-mpidoc 7.1.4-8build1
- ubuntu stonking: lam-mpidoc 7.1.4-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms