Skip to content

What are members in CommMetaData #1821

Answered by WeiqunZhang
maikel asked this question in Q&A
Discussion options

You must be logged in to vote

CopyComTag stores the meta-data for copying the data from a subregion sbox (here s means source) of the source FabArray to a subregion dbox of the destination FabArray. The integers srcIndex and dstIndex specify the global box index in the FabArrays. That is source_fabarray[srcIndex] gives us the source Fab (e.g., FArrayBox).

CommMetaData::m_LocTags are for copying data locally (as opposed to via MPI). The information for sending and receiving using MPI is stored in m_SndTags and m_RcvTags as std::map. The key to the map is the MPI rank (destination rank for m_SndTags and source rank for m_RcvTags). The two boolean flags are used to indicate if there are race conditions (i.e., multiple th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maikel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants