HPL_sdrv(3)

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

✨ HPL_sdrv ✨

okay bestie, welcome to HPL_sdrv from the HPL Library Functions era β€” this is the glow-up guide to sending and receiving a message πŸ’Œ


πŸ’– NAME πŸ’–

HPL_sdrv β€” send and receive a message. that's it. that's the whole vibe. 🫢


🌸 SYNOPSIS 🌸

#include "hpl.h"

int HPL_sdrv( double * SBUF, int SCOUNT, int STAG, double * RBUF, int
RCOUNT, int RTAG, int PARTNER, MPI_Comm COMM );

πŸ¦‹ DESCRIPTION πŸ¦‹

so HPL_sdrv is literally just a cute little wrapper around MPI_Sendrecv. its main purpose? to let you do some experimentation and tuning of this simple function. yes, it's giving test-kitchen energy, and we love that for it πŸ§ͺ✨

okay important part, no cap: messages of length less than or equal to zero are not sent nor received. they simply do not exist. ghosted. πŸ’€

and when everything works out? successful completion is indicated by the returned error code HPL_SUCCESS. slay. πŸ‘‘


πŸ’… ARGUMENTS πŸ’…

  • SBUF β€” (local input) double * β€” on entry, SBUF specifies the starting address of the buffer to be sent. that's your outgoing mail, bestie πŸ’Œ
  • SCOUNT β€” (local input) int β€” on entry, SCOUNT specifies the number of double precision entries in SBUF. SCOUNT must be at least zero. no negatives, we don't do that here πŸ™ˆ
  • STAG β€” (local input) int β€” on entry, STAG specifies the message tag to be used for the sending communication operation. it's the lil name tag on your message πŸŽ€
  • RBUF β€” (local output) double * β€” on entry, RBUF specifies the starting address of the buffer to be received. your inbox, basically πŸ“₯
  • RCOUNT β€” (local input) int β€” on entry, RCOUNT specifies the number of double precision entries in RBUF. RCOUNT must be at least zero. same rule, same energy ⭐
  • RTAG β€” (local input) int β€” on entry, RTAG specifies the message tag to be used for the receiving communication operation. the name tag on the incoming one 🏷️
  • PARTNER β€” (local input) int β€” on entry, PARTNER specifies the rank of the collaborative process in the communication space defined by COMM. your plus-one in the group chat πŸ«‚
  • COMM β€” (local input) MPI_Comm β€” the MPI communicator identifying the communication space. this is the group chat itself πŸ’¬

🌈 SEE ALSO 🌈

  • HPL_send (3)
  • HPL_recv (3)

go read those too, iykyk πŸ‘‘


and that's the whole page, bestie!! this was HPL 2.2, dated February 24, 2016 β€” so yes she's an icon, she's a legend, and she is the moment πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from