what's the difference between PetscViewerASCIIOpen() and PetscViewerBinaryOpen()?

Aldo Bonfiglioli aldo.bonfiglioli at unibas.it
Wed Jan 23 03:21:06 CST 2008


> thank you for your reply. Do you have any method to generate an ascii 
> file of the huge sparse matrix? thanks


I have been using HYPRE calls (from PETSc) to accomplish this.
Each processor will write his own  portion of the global matrix
in his own file.
The enclosed file should explain how.

Regards,
Aldo

-- 
Dr. Aldo Bonfiglioli
Dip.to di Ingegneria e Fisica dell'Ambiente (DIFA)
Universita' della Basilicata
V.le dell'Ateneo lucano, 10 85100 Potenza ITALY
tel:+39.0971.205203 fax:+39.0971.205160

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: printmat.F
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080123/8fe41d16/attachment.diff>


More information about the petsc-users mailing list