Hi, <div> </div><div>I was wondering if it would be possible if I write a global vector (associated with a certain 3D distributed array) to file </div><div>via: </div><div><div><br></div><div> ierr = PetscViewerBinaryOpen(PCW1, filename, FILE_MODE_WRITE, &writer);</div>
<div> ierr = VecView(vec_data, writer);</div><div> ierr = PetscViewerDestroy(writer);</div><div><br></div><div>And then load the data into a global vector which is not created using the same parallel layout? </div>
<div>A simple example for this case would be to write the runtime data (parallel vector) to file and then just load the saved vector to do some simple SERIAL post processing. </div><div><br></div><div>Thanks in advance, </div>
<div>Best</div><div>Mohamad</div><div><br></div><div><br></div><div><br></div><div><br></div></div>