[petsc-users] matrix visualization problem

Satish Balay balay at mcs.anl.gov
Wed Dec 23 13:57:13 CST 2009


well if you need -mat_view_draw - then suggest editing
src/mat/impls/aij/mpi/mpiaij.c and increate this cut-off size.

[there is now a command-line option to over-ride this limit in petsc-dev]

For binary viewer - check mat/examples/tests/ex31.c

Satish

On Wed, 23 Dec 2009, hxie at umn.edu wrote:

> Hi,
> 
> I installed all the packages in a mac machine. When I run " mpirun -np 4
> ~/bin/cats3d.1 -mat_view_draw -draw_pause -1" under X11, I get some errors:
> ------
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [0]PETSC ERROR: Argument out of range!
> [0]PETSC ERROR: ASCII matrix output not allowed for matrices with more than
> 512 rows, us
> e binary format instead!
> 
> ...
> MatAssemblyEnd error          63
> 
> ------
> 
> The matrix is  with more than 512 rows. How can I use the binary format?
> 
> Happy holiday,
> Hui
> 



More information about the petsc-users mailing list