Here is how you can do this without having to redescribe the data type all
the time. This will also keep your data layout together and improve cache
coherency.
#include
#include
#include
using namespace std;
int main()
{
int N=2, M=3;
//Allocate the matrix
double **A=(double**)malloc(si
Eugene is right, every time you create a new matrix you will have to
describe it with a new datatype (even when using MPI_BOTTOM).
george.
On Oct 30, 2009, at 18:11 , Natarajan CS wrote:
Thanks for the replies guys! Definitely two suggestions worth
trying. Definitely didn't consider a deriv