March 5th, 2010, 10:02 pm
Hi all. I am still working on parallelizing that red-black G.S. solver that I previously mentioned in another thread. I am having a problem with a little test program I am developing to help with integration into our main program. I want to be able to "extract" a sub-matrix from a larger 2D matrix, and do it as efficiently as possible w.r.t. the amount of MPI overhead.Please see the attached code for a simple example. I am creating a 4x4 matrix, and I want to extract a 2x2 matrix from it, on another processor. In this case, I want to extract the 2x2 that is in the top-left corner. This is giving me bogus results, and may be because i am declaring the type wrong. If you can get a version working, I'd much apprecaite it.Thanks in advance!
Last edited by
Dcole on March 4th, 2010, 11:00 pm, edited 1 time in total.