<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 6, 2017 at 1:05 AM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> writes:<br>
<br>
>   test:<br>
>     suffix: restart_0<br>
>     requires: hdf5<br>
>     args: -run_type test -refinement_limit 0.0    -bc_type dirichlet -interpolate 1 -petscspace_order 1 -dm_view hdf5:sol.h5 -vec_view hdf5:sol.h5::append<br>
><br>
>   test:<br>
>     suffix: restart_1<br>
>     requires: hdf5<br>
>     args: -run_type test -refinement_limit 0.0    -bc_type dirichlet -interpolate 1 -petscspace_order 1 -f sol.h5 -restart<br>
><br>
> See a problem?<br>
><br>
> Should the same run of the example view the files and then load them back in? versus trying to read in a data file from another run that may not even have been created before and even if it was, the file was definitely created  in a different directory?<br>
<br>
</span>So if write only is broken, do you want both to fail?  I think it's<br>
better to read and write separately, with comparison using h5diff, since<br>
that independently tests read vs write and establishes backward<br>
compatibility, which you'd really like the test system to make you deal<br>
with explicitly.<br>
</blockquote></div><br>I know the test is broken, but I did already mail the list about this and was waiting for an answer</div><div class="gmail_extra">to be worked out.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I agree with Satish that running two commands would be great. I could rewrite the example to</div><div class="gmail_extra">both write and load it, but it would complicate it. Also, I am trying to get the pattern I expect the</div><div class="gmail_extra">user to follow for checkpointing.</div><div class="gmail_extra"><br></div><div class="gmail_extra">   Matt<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">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></div>