This commit is contained in:
WickedJack99
2025-06-29 20:24:34 +02:00
parent 7654cac5a2
commit a4cb7b025a

View File

@@ -100,7 +100,10 @@ void Jacobi::exchangeHaloLayersNodeMPIProcFirst(Matrix &phi)
// We write our send row to shared memory row 0
while (states->shmStates[0] == SharedmemState::Unread)
{MPI_Win_sync(win_);}
{
if (rank_ == 0)
std::cout << "102" << std::endl;
MPI_Win_sync(win_);}
for (int j = 0; j < sendSize; ++j)
shm0[j] = phi(1, j);