4 Apr
2012
4 Apr
'12
4:47 p.m.
I'm interested in moving a vector to a single processor (so I can output it in some custom way), but I can't find a simple way to do that. Is the easiest way to output the parallel vector to a file and then read it in to a single processor vector? Also, an unrelated question: If I have a vector that I'm using as the result of a matrix vector product, but it is initially empty, do I need to initialize it in any way? or can I just create it and run with it: … create x and A ... VecCreate(world, &b); MatGetVecs(A,&x,&b); … do stuff with x and A ... MatMult(A,x,b); Thanks for the help, -Andrew