1
$\begingroup$

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".

thx

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

0

Browse other questions tagged or ask your own question.