<html><body>Dear professor:<br><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;"> I partitioned my 2D cartesian grid with 4r
ows*4cols CPUS.</span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;"> 12 13 14 15</span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;"> 8 9 10 11</span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;"> 4 5 6 7</span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;">
0 1 2 3 </span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;"> </span></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="font-family: Times New Roman; font-size: 14px;"> Now i need to scatter the values belonging to cpu5 to every cpu along x direction( 4 5 6 7) , which function should i use.</span><br><div><br></div><div>Regards</div></div><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p>
</span></div><br><br><span title="neteasefooter"><p> </p></span></div></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span></div><br><br><span title="neteasefooter"><p> </p></span><br>
</body></html>