Vec u,v; VecCreateMPIAIJ(..,&u); VecGetArray(u,&a); VecCreateSeqWithArray(...,a,&v); Is this safe? I want the VecSeq v to read and write local array of u. This is for VecScatterCreate from a global Vec to the local Seq v, and then I hope that u get updated as well automatically. Thanks in advance!