<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Barry,<BR>
<BR>
I made a mistake naming the files: the messy one is from the file while the correct one is from command line. I am using a custom PC (dmdarepart).<BR>
I attached 4 files:<BR>
<BR>
ksp_view_cl_1proc.txt: output on command line for 1 process run<BR>
ksp_view_cl_8proc.txt: output on command line for 8 processes run <BR>
ksp_view_fl_1proc.txt: output on file for 1 process run <BR>
ksp_view_fl_8proc.txt: output on file for 8 processes run <BR>
<BR>
This is what I do in the code:<BR>
<BR>
CALL KSPSolve( ksp, b, x, ierr )<BR>
CALL PetscViewerASCIIOpen( PETSC_COMM_WORLD, ksp_view_file, viewer, ierr )<BR>
CALL KSPView( ksp, viewer, ierr )<BR>
CALL PetscViewerDestroy( viewer, ierr )<BR>
<BR>
I will try to provide a minimal example ASAP.<BR>
<BR>
Michele<BR>
<BR>
<BR>
On Fri, 2015-07-10 at 13:43 -0500, Barry Smith wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Are you sure you named the files correctly and sent the right files. This is very confusing. What is in ksp_view_file.txt looks reasonable to me: You are running three level multigrid where the coarse solve is two level multigrid with a coarse solve of SuperLU_Dist. What is in ksp_view_command.txt is a jumbled mess which seems to be missing something.
If you run both on one process what happens?
Barry
<FONT COLOR="#737373">> On Jul 10, 2015, at 1:14 PM, Michele Rosso <<A HREF="mailto:mrosso@uci.edu">mrosso@uci.edu</A>> wrote:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Hi,</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I am having a problem with KSPview. If I use the command line option, the output of KSPView is complete. If instead I call KSPView after KSPsolve and I have the ksp infos printed on file, the output misses some</FONT>
<FONT COLOR="#737373">> parts (see attached files).</FONT>
<FONT COLOR="#737373">> What can I do to fix this?</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Thanks,</FONT>
<FONT COLOR="#737373">> Michele</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> <ksp_view_commandline.txt><ksp_view_file.txt></FONT>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>