VecView and MPI IO

Shao-Ching Huang schuang at ats.ucla.edu
Thu Feb 5 19:48:56 CST 2009


Hi,

I am trying to create restart/check-pointing files for a time-stepping
simulation (by writing out vectors to files).

1. Does VecView always use the MPI collective I/O?

    The HTML documentation of PetscViewerBinaryOpen says: "For writing
    files it only opens the file on processor 0 in the communicator."

2. Do I have to set anything to enable MPI I/O when configuring PETSc?
    (My MPI library has MPI I/O.)

Thank you.

Shao-Ching


More information about the petsc-users mailing list