<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 17, 2017 at 8:25 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Jan 17, 2017 at 8:19 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_7077979252460430071gmail-"><br>
> On Jan 17, 2017, at 8:13 PM, Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> wrote:<br>
><br>
> On Tue, Jan 17, 2017 at 7:59 PM, Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br>
><br>
><br>
</span><span class="m_7077979252460430071gmail-">> Use ${DATAFILESPATH} like we do in all the legacy tests.<br>
><br>
> Not working<br>
<br>
</span> Why do you even listen to Jed, when you can listen to me. In this case the data files is in the PETSc share directory so you should use the ${PETSC_DIR} to point to it. Only files in the DATAFILESPATH directory should use $DATAFILESPATH</blockquote><div><br></div></span><div>Okay, that worked. I have one test converted.</div><div><br></div><div>Gripes:</div></div></div></div></blockquote><div><br></div><div>From the answers to these, it sounds like I will end up writing a piece of Python around this that</div><div>does largely what my existing Python script does. I wanted to avoid this.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> 1) How do I run an individual test run?</div><div><br></div><div>I use</div><div><br></div><div> make -f gmakefile test searchin=plex</div><div><br></div><div>to run plex tests, and I think</div><div><div><br class="m_7077979252460430071gmail-Apple-interchange-newline"> make -f gmakefile test searchin=plex*ex1</div></div><div><br></div><div>will work. However, how do I select ex1_2?</div><div><br></div><div> 2) How do I replace the output which exists with the output of the current test run?</div><div><br></div><div>This is amazingly useful after changes.</div><div><br></div><div> 3) How do I give extra arguments with the make interface, rather than test_harness?</div><div><br></div><div>Once I have all the functionality of my Python stuff, I will throw it away.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="m_7077979252460430071gmail-HOEnZb"><div class="m_7077979252460430071gmail-h5">
><br>
> arch-c-exodus-master/tests/src<wbr>/dm/impls/plex/examples/tests/<wbr>runex1_gmsh_3.sh -v<br>
> not ok dm_impls_plex_tests-ex1_gmsh_3 /PETSc3/petsc/petsc-dev/arch-c<wbr>-exodus-master/bin/mpiexec -n 3 ../ex1 -filename /meshes/square.msh -interpolate 1 -dm_view > ex1_gmsh_3.tmp 2> runex1_gmsh_3.err<br>
><br>
> when I have<br>
><br>
> test:<br>
> suffix: gmsh_3<br>
> nsize: 3<br>
> args: -filename ${DATAFILESPATH}/meshes/square<wbr>.msh -interpolate 1 -dm_view<br>
><br>
> Matt<br>
><br>
> --<br>
> 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<br>
<br>
</div></div></blockquote></span></div><span class=""><br><br clear="all"><div><br></div>-- <br><div class="m_7077979252460430071gmail_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>
</span></div></div>
</blockquote></div><br><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>