<div dir="ltr">Dear PETSc --<br><br>When I use option -snes_monitor_solution in master branch I get the error below. I have a sense that this is related to the change listed at <a href="http://www.mcs.anl.gov/petsc/documentation/changes/dev.html">http://www.mcs.anl.gov/petsc/documentation/changes/dev.html</a>, namely <div><br></div><div>"SNESSetMonitor(SNESMonitorXXX, calls now require passing a viewer as the final argument, you can no longer pass a NULL)"<br><br>but the error message below is not informative enough to tell me what to do at the command line.</div><div><br></div><div>Note that my X11 windows do work, as other options successfully give line graphs etc. <br></div><div><br></div><div>Do I need</div><div><br></div><div> -snes_monitor_solution Z</div><div><br></div><div>with some value for Z? If so, where are the possibilities documented?</div><div><br></div><div>Thanks!</div><div><br></div><div>Ed</div><div><br></div><div><br><br>$ ./ex5 -snes_monitor_solution<div>[0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------</div><div>[0]PETSC ERROR: Null argument, when expecting valid pointer</div><div>[0]PETSC ERROR: Null Object: Parameter # 4</div><div>[0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html">http://www.mcs.anl.gov/petsc/documentation/faq.html</a> for trouble shooting.</div><div>[0]PETSC ERROR: Petsc Development GIT revision: v3.6.2-1635-g5e95a8a GIT Date: 2015-11-21 16:14:08 -0600</div><div>[0]PETSC ERROR: ./ex5 on a linux-c-dbg named bueler-leopard by ed Sun Nov 22 10:31:33 2015</div><div>[0]PETSC ERROR: Configure options --download-mpich --download-triangle --with-debugging=1</div><div>[0]PETSC ERROR: #1 SNESMonitorSolution() line 33 in /home/ed/petsc/src/snes/interface/snesut.c</div><div>[0]PETSC ERROR: #2 SNESMonitor() line 3383 in /home/ed/petsc/src/snes/interface/snes.c</div><div>[0]PETSC ERROR: #3 SNESSolve_NEWTONLS() line 191 in /home/ed/petsc/src/snes/impls/ls/ls.c</div><div>[0]PETSC ERROR: #4 SNESSolve() line 3984 in /home/ed/petsc/src/snes/interface/snes.c</div><div>[0]PETSC ERROR: #5 main() line 171 in /home/ed/petsc/src/snes/examples/tutorials/ex5.c</div><div>[0]PETSC ERROR: PETSc Option Table entries:</div><div>[0]PETSC ERROR: -snes_monitor_solution</div><div>[0]PETSC ERROR: ----------------End of Error Message -------send entire error message to petsc-maint@mcs.anl.gov----------</div><div>application called MPI_Abort(MPI_COMM_WORLD, 85) - process 0</div><div>[unset]: aborting job:</div><div>application called MPI_Abort(MPI_COMM_WORLD, 85) - process 0</div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">Ed Bueler<br>Dept of Math and Stat and Geophysical Institute<br>University of Alaska Fairbanks<br>Fairbanks, AK 99775-6660<br>301C Chapman and 410D Elvey<br>907 474-7693 and 907 474-7199 (fax 907 474-5394)</div>
</div></div>