| 125 | } |
| 126 | |
| 127 | void 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 | } |
no test coverage detected