MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / Notify

Function Notify

Src/Base/AMReX_AsyncOut.cpp:127–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void Notify ()
128{
129#ifdef AMREX_USE_MPI
130 const int N = s_info.nspots - 1 - s_info.ispot;
131 if (N > 0) {
132 Vector<MPI_Request> reqs(N);
133 Vector<MPI_Status> stats(N);
134 for (int i = 0; i < N; ++i) {
135 reqs[i] = ParallelDescriptor::Abarrier(s_comm).req();
136 }
137 ParallelDescriptor::Waitall(reqs, stats);
138 }
139#endif
140}
141
142}

Callers 2

AsyncWriteDoitMethod · 0.85

Calls 3

AbarrierFunction · 0.85
WaitallFunction · 0.85
reqMethod · 0.80

Tested by

no test coverage detected