Skip to content

Conversation

@hgangwar
Copy link

This PR introduces redev::AdiosGlobalComm to provide a global communication interface between the coupler and the applications using the existing ADIOS channel.
Usage:

auto GDI = app->Add_GDI<pcms::GO>("global_comm", comm);

This creates a global communicator that can send and receive data, for example:

app->BeginSendPhase();
GDI->Send(mean.data(), "mean", mean.size());
app->EndSendPhase();

app->BeginReceivePhase();
mean = GDI->Receive("mean", mean.size());
app->EndReceivePhase();
  • The test_GDI test case verifies global communication and data transfer.
  • CMake fix to ensure the header file is installed in the expected include directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant