24 Nov 2017 by Lilyanaa
Hello, from this code I want to distribute one row of 2D array to all processor for example p1 =1,2,3,4 p2=5,6,7,8 p3=9,10,11,12 p4=13,14,15,16 when run the program (mpirun -np 4 ./a) MPI_Scatter is work fine but MPI_Reduce cause stopping in terminal what is the wrong? What I have tried: ...