diff --git a/Src/GroupTree/Core/FGroupTaskStarpuMpiAlgorithm.hpp b/Src/GroupTree/Core/FGroupTaskStarpuMpiAlgorithm.hpp index 0307e980309faefa51de6940032e0e82a45af74e..3452763ef98c6899adcf914c3bba0ccd871e1f2a 100644 --- a/Src/GroupTree/Core/FGroupTaskStarpuMpiAlgorithm.hpp +++ b/Src/GroupTree/Core/FGroupTaskStarpuMpiAlgorithm.hpp @@ -1837,7 +1837,6 @@ protected: task->dyn_handles[2] = remoteCellGroups[idxLevel+1][firstOtherBlock + nbSubCellGroups].handleSymb; task->dyn_handles[3] = remoteCellGroups[idxLevel+1][firstOtherBlock + nbSubCellGroups].handleUp; - nbSubCellGroups += 1; // put the right codelet task->cl = &m2m_cl; @@ -1872,6 +1871,7 @@ protected: comm.processId()); #endif #endif + nbSubCellGroups += 1; FAssertLF(starpu_task_submit(task) == 0); } }