OK it works. I added:

ierr = DMViewFromOptions(ctx->dm,NULL,"-dm_view");CHKERRQ(ierr);

Before the solve. There are problems, but nothing fatal:

1) It only plots the first field. I am just debugging so this is not fatal.
2) The current version of Visit v2.11 fails to load it (bad format message)
but the last version v2.10 still works. I've had this problem before and
have switched to vtu in my code.

Thanks,

Reply via email to