[petsc-dev] Output MPISBAIJ

Alexander Grayver agrayver at gfz-potsdam.de
Wed Dec 14 10:54:21 CST 2011


Hello dev-team,

I use the same code to output MPIAIJ and MPISBAIJ matrices, however with 
latter program hangs somewhere in MatView.
The code is:
call PetscViewerBinaryOpen(comm,'out',FILE_MODE_WRITE,viewer,ierr); 
CHKERRQ(ierr)
...
call PetscViewerFileSetName(viewer,'A.dat',ierr)
call MatView(A,viewer,ierr); CHKERRQ(ierr)

When I define A as a MPIAIJ matrix everything works well.
Any ideas?

Regards,
Alexander



More information about the petsc-dev mailing list