HPL_sdrv(3)
β¨ 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,SBUFspecifies the starting address of the buffer to be sent. that's your outgoing mail, bestie πSCOUNTβ (local input)intβ on entry,SCOUNTspecifies the number of double precision entries inSBUF.SCOUNTmust be at least zero. no negatives, we don't do that here πSTAGβ (local input)intβ on entry,STAGspecifies 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,RBUFspecifies the starting address of the buffer to be received. your inbox, basically π₯RCOUNTβ (local input)intβ on entry,RCOUNTspecifies the number of double precision entries inRBUF.RCOUNTmust be at least zero. same rule, same energy βRTAGβ (local input)intβ on entry,RTAGspecifies the message tag to be used for the receiving communication operation. the name tag on the incoming one π·οΈPARTNERβ (local input)intβ on entry,PARTNERspecifies the rank of the collaborative process in the communication space defined byCOMM. 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
- fedora 43: hpl-doc 2.2-22.fc43 Β· LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hpl-doc 2.2-23.fc44 Β· LicenseRef-Callaway-BSD-with-advertising
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms