Hi everyone:<br><br>#include "petsc.h" <br> PetscErrorCode PetscViewerASCIIOpen(MPI_Comm comm,const char name[],PetscViewer *lab)<br><br>#include "petsc.h" <br> PetscErrorCode PetscViewerBinaryOpen(MPI_Comm comm,const char name[],PetscFileMode type,PetscViewer *binv)
<br><br>if the difference between them is that one for ASCII output and the other for Binary output, why are there different parameters?<br>The speed to output matrix is very fast when I use PetscViewerBinaryOpen. However, when I use PetscViewerASCIIOpen, I can't get the matrix output. the code always is running and it has taken about one day! what's the problem? thank you.
<br><br>Regards,<br>Yujie<br><br> <br>