[petsc-users] Binary I/O

Mohamad M. Nasr-Azadani mmnasr at gmail.com
Wed Oct 12 17:42:54 CDT 2011


Hi everyone,

I think I know the answer to my question, but I was double checking.
When using
PetscViewerBinaryOpen();
It is mentioned that
 "For writing files it only opens the file on processor 0 in the
communicator."

Does that mean when writing a parallel vector to file using VecView(), all
the data from other processors is first sent to processor zero and then
dumped into the file?
If so, that would be a very slow processor for big datasets and large number
of processor?
Any suggestions to speed that process up?

Best,
Mohamad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111012/3b377e16/attachment.htm>


More information about the petsc-users mailing list