diff --git a/src/pcms/client.h b/src/pcms/client.h index 37021df1..3a169f59 100644 --- a/src/pcms/client.h +++ b/src/pcms/client.h @@ -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; diff --git a/test/overlap.mod b/test/overlap.mod new file mode 100644 index 00000000..8e194da4 Binary files /dev/null and b/test/overlap.mod differ