<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div>  Ahh, are you using the default make that comes from Apple or do you use a modern gnumake (such as from brew?)<div><br></div><div>  I get Jed's results with the brew one (installed as gmake) and your results with the Apple one /usr/bin/make</div><div><br></div><div><br><div><br><div><br><blockquote type="cite"><div>On May 24, 2023, at 8:52 AM, Matthew Knepley <knepley@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div dir="ltr"><div dir="ltr">On Wed, May 24, 2023 at 6:53 AM Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</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">On Tue, May 23, 2023 at 9:00 PM Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</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">I use it that way all the time, but I can't reproduce.<br>
<br>
$ touch src/snes/interface/snes.c<br>
$ make test gs=snes_tutorials-ex5_1<br>
         CC ompi/obj/snes/interface/snes.o<br>
Using MAKEFLAGS: -j8 -l12 --jobserver-auth=fifo:/tmp/GMfifo1004133 -- gs=snes_tutorials-ex5_1<br>
    CLINKER ompi/lib/libpetsc.so.3.019.1<br>
    CLINKER ompi/tests/snes/tutorials/ex5<br>
       TEST ompi/tests/counts/snes_tutorials-ex5_1.counts<br>
 ok snes_tutorials-ex5_1<br>
 ok diff-snes_tutorials-ex5_1<br></blockquote><div><br></div><div>Does not work for me. This is incredibly frustrating:</div><div><br></div><div>bldenton/dmplex-cadrefactor *$:/PETSc3/petsc/petsc-dev$ touch src/snes/interface/snes.c<br></div></div></div></blockquote><div><br></div><div>Found it. For some reason, I need</div><div><br></div><div>  make -f./gmakefile test</div><div><br></div><div>  Matt</div><div> </div><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 class="gmail_quote"><div>bldenton/dmplex-cadrefactor $:/PETSc3/petsc/petsc-dev$ make test gs=snes_tutorials-ex5_1<br>/usr/bin/make --no-print-directory -f /PETSc3/petsc/petsc-dev/gmakefile.test PETSC_ARCH=arch-master-debug PETSC_DIR=/PETSc3/petsc/petsc-dev test<br>/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 /PETSc3/petsc/petsc-dev/config/gmakegentest.py --petsc-dir=/PETSc3/petsc/petsc-dev --petsc-arch=arch-master-debug --testdir=./arch-master-debug/tests<br>Using MAKEFLAGS: --no-print-directory -- PETSC_DIR=/PETSc3/petsc/petsc-dev PETSC_ARCH=arch-master-debug gs=snes_tutorial<br>s-ex5_1<br>         CC arch-master-debug/tests/snes/tutorials/ex5.o<br>    CLINKER arch-master-debug/tests/snes/tutorials/ex5<br>       TEST arch-master-debug/tests/counts/snes_tutorials-ex5_1.counts<br> ok snes_tutorials-ex5_1<br> ok diff-snes_tutorials-ex5_1<br></div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>> writes:<br>
<br>
>   Sure, I do also with make all; make test s="something" <br>
><br>
>    I have no idea how gmakefile.test dependencies work, you'll need to get Jed to fix the problem.<br>
><br>
><br>
><br>
>> On May 23, 2023, at 10:22 AM, Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> wrote:<br>
>> <br>
>> On Tue, May 23, 2023 at 10:22 AM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a> <mailto:<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>>> wrote:<br>
>>> <br>
>>>   I never knew there was such a dependency; I always ran make all ; make tests The gnumake stuff is still confusing to me so I have no idea how it works or why.<br>
>> <br>
>> I run single tests all the time. That is how I develop.<br>
>> <br>
>>    Matt<br>
>>  <br>
>>>> On May 23, 2023, at 9:34 AM, Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a> <mailto:<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>> wrote:<br>
>>>> <br>
>>>> The 'test' target no longer depends on 'libs' somehow so when I  change source files they do not get rebuilt before my test runs. Why did we do this?<br>
>>>> <br>
>>>>   Thanks,<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>
>>>> <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a> <<a href="http://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">http://www.cse.buffalo.edu/~knepley/</a>><br>
>>> <br>
>> <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>
>> <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a> <<a href="http://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">http://www.cse.buffalo.edu/~knepley/</a>><br>
</blockquote></div><br clear="all"><div><br></div><span>-- </span><br><div dir="ltr"><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>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><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>
</div></blockquote></div><br></div></div></body></html>