[petsc-dev] Test output broken for test sets

Matthew Knepley knepley at gmail.com
Thu Sep 27 04:08:07 CDT 2018


On Wed, Sep 26, 2018 at 1:40 PM Scott Kruger <kruger at txcorp.com> wrote:

>
> Matt,
>
> I'm a bit confused as to what you want to do here.
>
> I put this block in ksp/ksp/examples/test/ex1.c just for testing.
>
> I get:
>  > config/gmakegentest.py
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_6_tet.out
>
> not found.
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_6_hex.out
>
> not found.
>
> which I think is what you are complaining about.
>
> But I I change the faces argument to this:
>
>    args: -use_generator -faces {{2,2,2  1,3,5  3,4,7}separate}
>

Ah, I did not understand the "separate" argument.

  Thanks for clearing that up,

     Matt


>
> Then I get this:
>  > config/gmakegentest.py
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_faces-3__4__7_6_hex.out
>
> not found.
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_faces-1__3__5_6_hex.out
>
> not found.
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_faces-2__2__2_6_hex.out
>
> not found.
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_faces-3__4__7_6_tet.out
>
> not found.
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_faces-1__3__5_6_tet.out
>
> not found.
> Warning:
> /Users/kruger/ptroot/upstream/petsc/src/sys/examples/tests/output/ex1_faces-2__2__2_6_tet.out
>
> not found.
>
>
> Is this what you really want?
>
> Scott
>
> P.S.  Jakub:  Your issue is separate.  I'll have a fix pushed shortly.
>
> On 9/24/18 7:26 AM, Matthew Knepley wrote:
> > At least on my machine, this does not work correctly
> >
> >    testset:
> >      nsize: {{1 2 4}}
> >      args: -use_generator -faces {{2,2,2  1,3,5  3,4,7}}
> >      args: -interpolate -distribute -interpolate_after_distribute {{0 1}}
> >      args: -dm_plex_check_pointsf
> >      test:
> >        #TODO some combinations generate wrong SF
> >        suffix: 6_tet
> >        requires: ctetgen
> >        args: -cell_simplex 1 -dm_plex_generator ctetgen
> >      test:
> >        suffix: 6_hex
> >        args: -cell_simplex 0
> > If I give REPLACE=1, it makes a single output file 6_hex.out and
> > 6_tet.out for all the test, with the output of the last test in it.
> >
> >    Thanks,
> >
> >       Matt
> >
> > --
> > What most experimenters take for granted before they begin their
> > experiments is infinitely more interesting than any results to which
> > their experiments lead.
> > -- Norbert Wiener
> >
> > https://www.cse.buffalo.edu/~knepley/
> > <http://www.cse.buffalo.edu/%7Eknepley/>
>
> --
> Tech-X Corporation               kruger at txcorp.com
> 5621 Arapahoe Ave, Suite A       Phone: (720) 974-1841
> Boulder, CO 80303                Fax:   (303) 448-7756
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20180927/4da06f3d/attachment.html>


More information about the petsc-dev mailing list