[petsc-dev] Test output broken for test sets

Scott Kruger kruger at txcorp.com
Wed Sep 26 12:40:50 CDT 2018


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}

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


More information about the petsc-dev mailing list