Saturday, 15 August 2015

broadcast - MPI own code to find the minimum value in a vector -


I am trying to write my own MPI function which will calculate the smallest number in the vector and all the processes Will broadcast. I treat the processes in the form of a binary tree, and in the form of minimal, I go from the leaves to the root. Then I send messages to the leaves through the roots of my children. But I get a segmentation mistake when I try to get the minimum value with rank in 0 to 3 with only 4 processes from Rank 1 in the process of left child (Process Rank 3) in execution.

No comments:

Post a Comment