<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; color: rgb(17, 17, 17); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 19.6000003814697px; background-color: rgb(253, 253, 253);">Hi,</p>

<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; color: rgb(17, 17, 17); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 19.6000003814697px; background-color: rgb(253, 253, 253);">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.</p>

<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; color: rgb(17, 17, 17); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 19.6000003814697px; background-color: rgb(253, 253, 253);">Is there something I'm getting wrong? In the documentation of VecGetValues it is written "<em style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">Gets values from certain locations of a vector. Currently can only get values on the same processor</em>".</p>

<p style="margin: 0px 0px 1em; padding: 0px; border: 0px; font-size: 14px; vertical-align: baseline; clear: both; color: rgb(17, 17, 17); font-family: 'Helvetica Neue', Arial, sans-serif; line-height: 19.6000003814697px; background-color: rgb(253, 253, 253);">thx, Pete</p></div></body></html>