<div dir="ltr"><div dir="ltr">On Thu, May 2, 2019 at 3:13 PM zakaryah via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div dir="ltr" class="gmail-m_-8992209838808219553gmail-m_8947144468562541385gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font color="#000000"><span class="gmail_default" style="font-size:small"></span>I<span class="gmail_default"> get a segfault on VecViewFromOptions, with the command line you suggested.  Likewise, if I execute ex10 (</span><span>Tests I/O of vectors for different data formats (binary,HDF5) and illustrates the use of user-defined event logging<span class="gmail_default">), even with -n 1, I get a segfault.</span></span></font></div></div></div></div></div></div><div><br></div><div><div style="font-size:small">Is VecViewFromOptions documented somewhere?  Google only turns up the version from 3.2, which took two arguments.  From the source, it looks like a wrapper for PetscObjectViewFromOptions, but I still don't see all the format specifications.  I'd like to test whether the same code crashes for other formats, like binary, matlab, etc. </div></div></div></div></div>
</blockquote></div><br clear="all"><div>I think it must be you call. Lets try and example first:</div><div><br></div><div>  cd $PETSC_DIR/src/snes/examples/tutorials</div><div>  make ex5</div><div>  ./ex5 -mms 1 -sol_view hdf5:sol.h5</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>