sc::MTMPIMemoryGrp(3)
π NAME π
Okay so welcome to the sc::MTMPIMemoryGrp(3) manual page, bestie β this MemoryGrp class requires a MT-safe MPI implementation. That's the whole main-character requirement, no cap.
β¨ SYNOPSIS β¨
#include <memmtmpi.h>
π± Inherits
Inherits sc::ActiveMsgMemoryGrp.
π Public Member Functions
MTMPIMemoryGrp (const Ref< MessageGrp > &msg, const Ref< ThreadGrp > &th, MPI_Comm comm=MPI_COMM_WORLD)β Construct aMTMPIMemoryGrpgiven aMessageGrp,ThreadGrp, and an MPI communicator.MTMPIMemoryGrp (const Ref< KeyVal > &)β Construct aMTMPIMemoryGrpgiven aKeyValinput object.void activate ()βactivate()is called before the memory is to be used.void deactivate ()βdeactivate()is called after the memory has been used.void sync ()β Synchronizes all the nodes.
π― Friends
class MTMPIThreadβ yes bestie, this class is in the friend list.
𧬠Additional Inherited Members
There are additional inherited members too β the original page gives the heading Additional Inherited Members and doesn't list more here.
π Detailed Description π
This MemoryGrp class requires a MT-safe MPI implementation. Periodt.
The default MessageGrp must be a MPIMessageGrp. MPI must be safe with respect to the default ThreadGrp. Alternately, a MessageGrp and a ThreadGrp can be passed to the constructor.
Lowkey important: the MT-safe MPI requirement is not optional, bestie π .
π οΈ Constructor & Destructor Documentation π οΈ
sc::MTMPIMemoryGrp::MTMPIMemoryGrp (const Ref< MessageGrp > & msg, const Ref< ThreadGrp > & th, MPI_Comm comm = MPI_COMM_WORLD)
Construct a MTMPIMemoryGrp given a MessageGrp, ThreadGrp, and an MPI communicator.
The communicator can be a subset of MPI_COMM_WORLD, in which case, the MessageGrp must refer to the same subset. Like, they have to match β no mixing vibes.
sc::MTMPIMemoryGrp::MTMPIMemoryGrp (const Ref< KeyVal > &)
Construct a MTMPIMemoryGrp given a KeyVal input object.
A fully thread safe MPI is needed (MPI_THREAD_MULTIPLE). That's the vibe check for this constructor π«Ά.
π₯ Member Function Documentation π₯
void sc::MTMPIMemoryGrp::sync () [virtual]
Synchronizes all the nodes. This is useful after remote memory writes to be certain that all of the writes have completed and the data can be accessed locally, for example.
Reimplemented from sc::MsgMemoryGrp.
π Author π
Generated automatically by Doxygen for MPQC from the source code.
That's the whole page, bestie π β source/version situation: MPQC Version 2.3.1, dated Sun Oct 4 2020, and the manual page is sc::MTMPIMemoryGrp(3). Slay. β¨
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms