|
Tpetra parallel linear algebra Version of the Day
|
#include <Tpetra_Details_DistributorPlan.hpp>
Inherits Teuchos::ParameterListAcceptorDefaultBase.
Public Member Functions | |
| int | getTag (const int pathTag) const |
Instances of Distributor take the following parameters that control communication and debug output:
bool): Whether to execute a barrier between receives and sends in do[Reverse]Posts(). A barrier is required for correctness when the "Send type" parameter is "Rsend". Otherwise, a barrier is correct and may be useful for debugging, but not recommended, since it introduces useless synchronization.std::string): When using MPI, the variant of MPI_Send to use in do[Reverse]Posts(). Valid values include "Isend", "Rsend", "Send", and "Ssend". The default is "Send". (The receive type is always MPI_Irecv, a nonblocking receive. Since we post receives first before sends, this prevents deadlock, even if MPI_Send blocks and does not buffer.) Definition at line 109 of file Tpetra_Details_DistributorPlan.hpp.
| int Tpetra::Details::DistributorPlan::getTag | ( | const int | pathTag | ) | const |
Get the tag to use for receives and sends.
See useDistinctTags_. This is called in doPosts() (both variants) and computeReceives().
Definition at line 126 of file Tpetra_Details_DistributorPlan.cpp.