I don't understand the concept with local and global vec's in petsc when it come to DMDAVecGetArray and VecGetValues. I'm creating some DMDA Vec in parallel which works well. Now I want to access certain non local values of my Vec without receiving the whole global array (will not fit into my main memory) on each processor.

Is there something I'm getting wrong? In the documentation of VecGetValues it is written "Gets values from certain locations of a vector. Currently can only get values on the same processor".



closed as off-topic by Bill Barth, Christian Clason, Wolfgang Bangerth, Paul Jan 16 '15 at 15:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    $\begingroup$ This would be a great question for the petsc-users mailing list. $\endgroup$ – Bill Barth Jan 16 '15 at 12:58

Browse other questions tagged or ask your own question.