Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/pcms/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ class CouplerClient
PCMS_FUNCTION_TIMER;
}

CouplerClient(std::string name, MPI_Comm comm, redev::Partition partition,
redev::TransportType transport_type = redev::TransportType::BP4,
adios2::Params params = {{"Streaming", "On"},
{"OpenTimeoutSecs", "400"}},
std::string path = "")
: name_(std::move(name)),
mpi_comm_(comm),
redev_({comm, std::move(partition)}),
channel_{redev_.CreateAdiosChannel(name_, std::move(params),
transport_type, std::move(path))}
{
PCMS_FUNCTION_TIMER;
}

[[nodiscard]] const redev::Partition& GetPartition() const
{
PCMS_FUNCTION_TIMER;
Expand Down
Binary file added test/overlap.mod
Binary file not shown.