<div dir="ltr"><div>Hi all,</div><div><br></div><div>The man-page for VecGetValues subroutine states that:<br></div><div>"VecGetValues gets values from certain locations of a vector. Currently can only get values on the same processor ".</div><div><br></div><div>I am wondering whether there is a subroutine that can be used to get values from any portion of a vector, rather than limited to the current processor's portion of the vector?<br></div><div><br></div><div>It seems natural to expect that PETSc provides this kind of capability, which is already there for some subroutines, e.g., VecSetValues.<br></div><div><br></div><div>When using VecSetValues to set the values of a vector, one processor can set other processors' portion of the vector. The communication is handled by PETSc when VecAssembly is called.</div><div><br></div><div>Am I missing something obvious?</div><div>Cheers,<br></div><div>Youjun<br></div></div>