[petsc-users] How to show the x window for cmd `make -f ./gmakefile test ...`?

Zongze Yang yangzongze at gmail.com
Thu Oct 6 03:16:04 CDT 2022


Hi, everyone,

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`?

An example is shown below:
```
z2yang at 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"
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
        TEST arch-main-debug/tests/counts/dm_impls_plex_tests-ex20_2d.counts
 ok dm_impls_plex_tests-ex20_2d
not ok diff-dm_impls_plex_tests-ex20_2d # Error code: 1
#       12,22c12,26
#       < DM Object: Post Adaptation Mesh 1 MPI process
#       <   type: plex
#       < Post Adaptation Mesh in 2 dimensions:
#       <   Number of 0-cells per rank: 49
#       <   Number of 1-cells per rank: 120
#       <   Number of 2-cells per rank: 72
#       < Labels:
#       <   celltype: 3 strata with value/size (1 (120), 3 (72), 0 (49))
#       <   depth: 3 strata with value/size (0 (49), 1 (120), 2 (72))
#       <   marker: 1 strata with value/size (1 (48))
#       <   Face Sets: 1 strata with value/size (1 (36))
#       ---
#       > #PETSc Option Table entries:
#       > -check_pointer_intensity 0
#       > -dm_coord_space 0
#       > -dm_plex_box_faces 3,3
#       > -draw_pause -1
#       > -error_output_stdout
#       > -malloc_dump
#       > -nox
#       > -nox_warning
#       > -options_view
#       > -petsc_ci false
#       > -post_adapt_dm_view draw:x
#       > -pre_adapt_dm_view ascii::ascii_info
#       > -use_gpu_aware_mpi 0
#       > #End of PETSc Option Table entries


# FAILED diff-dm_impls_plex_tests-ex20_2d
#
# To rerun failed tests:
#     /usr/bin/gmake -f gmakefile test test-fail=1
```

Thanks,
Zongze
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221006/96555003/attachment.html>


More information about the petsc-users mailing list