Hi, I am wondering what would be the best way to do prefix sum in the reverse direction (cumulative sum from n to 1) on a distributed array. I understand MPI_Scan does it, but couldnt figure out how to adapt it for my case. Bharath