Most appropriate MPI_Datatype for “block decomposition”?
问题 With the help from Jonathan Dursi and osgx, I've now done the "row decomposition" among the processes: row http://img535.imageshack.us/img535/9118/ghostcells.jpg Now, I'd like to try the "block decomposition" approach (pictured below): block http://img836.imageshack.us/img836/9682/ghostcellsblock.jpg How should one go about it? This time, the MPI_Datatype will be necessary, right? Which datatype would be most appropriate/easy to use? Or can it plausibly be done without a datatype? 回答1: You