HPL_packL(3)

πŸ“¦ version 2.2, in fedora 43, fedora 44

πŸ’– HPL_packL πŸ’–

okay bestie, welcome to the HPL Library Functions corner of the manual β€” yes that's the manual name, it's giving very serious high-performance-computing energy and honestly? we love that for us 🫢


✨ NAME ✨

HPL_packL β€” Form the MPI structure for the row ring broadcasts.

like. it literally builds the MPI datatype that gets yeeted around the row ring. no cap. 🌈


🌸 SYNOPSIS 🌸

#include "hpl.h"

int HPL_packL( HPL_T_panel * PANEL, const int INDEX, const int LEN,
const int IBUF );

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie: HPL_packL forms the MPI data type for the panel that's about to be broadcast. that's it. that's the whole job. πŸ’…

and if it goes well β€” and it will β€” successful completion is indicated by the returned error code MPI_SUCCESS. ✨ iconic behavior honestly.


πŸŽ€ ARGUMENTS πŸŽ€

  • PANEL (input/output) HPL_T_panel * β€” on entry, PANEL points to the current panel data structure being broadcast. it's the main character of this whole operation fr fr πŸ‘‘
  • INDEX (input) const int β€” on entry, INDEX points to the first entry of the packed buffer being broadcast. like, where the vibes begin.
  • LEN (input) const int β€” on entry, LEN is the length of the packed buffer. how much buffer we're working with, periodt. πŸ“
  • IBUF (input) const int β€” on entry, IBUF specifies the panel buffer/count/type entries that should be initialized. you're telling it which things to set up. very choose-your-own-adventure of you 🧚

πŸ’œ SEE ALSO πŸ’œ

  • HPL_binit (3)
  • HPL_bcast (3)
  • HPL_bwait (3)

go read those too, iykwim 😭 they're all part of the same friend group.


lowkey reminder bestie: this is HPL 2.2 energy, dated February 24, 2016 β€” old but still ate, and we're obsessed with her. πŸ“

stay slay, go broadcast something, and remember: MPI_SUCCESS or it didn't happen. bye bestie!! πŸ’–βœ¨πŸŒΈπŸ¦‹πŸ’…

πŸ“¦ where this page comes from