<div dir="ltr"><div dir="ltr">On Thu, Oct 6, 2022 at 9:16 AM Zongze Yang <<a href="mailto:yangzongze@gmail.com">yangzongze@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">Hi, everyone,<div><br></div><div>I am trying to run some test cases with x window, but the x window never showed up with command `make -f ./gmakefile test ...`. It seems a default option `-nox` is set. How to disable this option for `make test`?</div></div></blockquote><div><br></div><div>Yes, we disable it for tests by default in order to make the CI efficient. You can edit</div><div><br></div><div> $PETSC_DIR/$PETSC_ARCH/lib/petsc/conf/petscvariables</div><div><br></div><div>and remove it from PETSC_TEST_OPTIONS, which should be the last line.</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"><div dir="ltr"><div>An example is shown below:</div><div>```</div><div>z2yang@ws6:~/repos/petsc$ PETSC_ARCH=arch-main-debug make -f ./gmakefile test search="dm_impls_plex_tests-ex20_2d" TIMEOUT=5000 EXTRA_OPTIONS="-post_adapt_dm_view draw:x -draw_pause -1 -options_view -petsc_ci false"<br>Using MAKEFLAGS: -- EXTRA_OPTIONS=-post_adapt_dm_view draw:x -draw_pause -1 -options_view -petsc_ci false TIMEOUT=5000 search=dm_impls_plex_tests-ex20_2d<br> TEST arch-main-debug/tests/counts/dm_impls_plex_tests-ex20_2d.counts<br> ok dm_impls_plex_tests-ex20_2d<br>not ok diff-dm_impls_plex_tests-ex20_2d # Error code: 1<br># 12,22c12,26<br># < DM Object: Post Adaptation Mesh 1 MPI process<br># < type: plex<br># < Post Adaptation Mesh in 2 dimensions:<br># < Number of 0-cells per rank: 49<br># < Number of 1-cells per rank: 120<br># < Number of 2-cells per rank: 72<br># < Labels:<br># < celltype: 3 strata with value/size (1 (120), 3 (72), 0 (49))<br># < depth: 3 strata with value/size (0 (49), 1 (120), 2 (72))<br># < marker: 1 strata with value/size (1 (48))<br># < Face Sets: 1 strata with value/size (1 (36))<br># ---<br># > #PETSc Option Table entries:<br># > -check_pointer_intensity 0<br># > -dm_coord_space 0<br># > -dm_plex_box_faces 3,3<br># > -draw_pause -1<br># > -error_output_stdout<br># > -malloc_dump<br># > -nox<br># > -nox_warning<br># > -options_view<br># > -petsc_ci false<br># > -post_adapt_dm_view draw:x<br># > -pre_adapt_dm_view ascii::ascii_info<br># > -use_gpu_aware_mpi 0<br># > #End of PETSc Option Table entries<br><br><br># FAILED diff-dm_impls_plex_tests-ex20_2d<br>#<br># To rerun failed tests:<br># /usr/bin/gmake -f gmakefile test test-fail=1<br><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr">```</div><div dir="ltr"><br></div><div>Thanks, </div><div>Zongze</div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <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>