<div dir="ltr">1) The tests were talking too long, so I had to reduce the number of tests. <a href="https://bitbucket.org/petsc/petsc4py/commits/b73507143ba1f1615f76973f59ad9fb49c066d4c">https://bitbucket.org/petsc/petsc4py/commits/b73507143ba1f1615f76973f59ad9fb49c066d4c</a><div>Even after that change, TestDMStagCreate runs 1716 tests!! The tests involving periodicity have been broken for a very long time without any resolution, so I just disabled them.</div><div><br></div><div>2) There are memory leaks:</div><div><br clear="all"><div>$ python /home/dalcinl/Devel/petsc4py-dev/test/runtests.py -i stag -v -f TestDMStag_1D_W0_N11<br>[0@kw60439] Python 2.7 (/usr/bin/python)<br>[0@kw60439] PETSc 3.12.0 release (conf: 'arch-linux2-c-debug')<br>[0@kw60439] petsc4py 3.11.0 (/home/dalcinl/Devel/petsc4py-dev/build/lib.linux-x86_64-2.7/petsc4py)<br>testCoordinates (test_dmstag.TestDMStag_1D_W0_N11) ... ok<br>testDMDAInterface (test_dmstag.TestDMStag_1D_W0_N11) ... ok<br>testDof (test_dmstag.TestDMStag_1D_W0_N11) ... ok<br>testGetOther (test_dmstag.TestDMStag_1D_W0_N11) ... ok<br>testGetVec (test_dmstag.TestDMStag_1D_W0_N11) ... ok<br>testMigrateVec (test_dmstag.TestDMStag_1D_W0_N11) ... ok<br><br>----------------------------------------------------------------------<br>Ran 6 tests in 0.052s<br><br>OK<br>[ 0]32 bytes DMSubDomainHookAdd() line 2999 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  PetscMallocA() line 2999 in /home/devel/petsc/3.12/src/sys/memory/mal.c<br>      [0]  DMSubDomainHookAdd() line 2994 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  DMSetCoordinates() line 5475 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  DMStagSetUniformCoordinatesExplicit_1d() line 75 in /home/devel/petsc/3.12/src/dm/impls/stag/stag1d.c<br>      [0]  DMStagSetUniformCoordinatesExplicit() line 1166 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>      [0]  DMStagSetUniformCoordinatesProduct() line 1209 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>      [0]  DMStagSetUniformCoordinates() line 1127 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>[ 0]32 bytes DMCoarsenHookAdd() line 2869 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  PetscMallocA() line 2869 in /home/devel/petsc/3.12/src/sys/memory/mal.c<br>      [0]  DMCoarsenHookAdd() line 2864 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  DMSetCoordinates() line 5475 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  DMStagSetUniformCoordinatesExplicit_1d() line 75 in /home/devel/petsc/3.12/src/dm/impls/stag/stag1d.c<br>      [0]  DMStagSetUniformCoordinatesExplicit() line 1166 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>      [0]  DMStagSetUniformCoordinatesProduct() line 1209 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>      [0]  DMStagSetUniformCoordinates() line 1127 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>[ 0]288 bytes PetscObjectListAdd() line 118 in /home/devel/petsc/3.12/src/sys/objects/olist.c<br>      [0]  PetscMallocA() line 118 in /home/devel/petsc/3.12/src/sys/memory/mal.c<br>      [0]  PetscObjectListAdd() line 80 in /home/devel/petsc/3.12/src/sys/objects/olist.c<br>      [0]  PetscObjectCompose_Petsc() line 651 in /home/devel/petsc/3.12/src/sys/objects/inherit.c<br>      [0]  PetscObjectCompose() line 725 in /home/devel/petsc/3.12/src/sys/objects/inherit.c<br>      [0]  VecSetDM() line 274 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  DMCreateGlobalVector_Stag() line 34 in /home/devel/petsc/3.12/src/dm/impls/stag/stag.c<br>      [0]  DMCreateGlobalVector() line 932 in /home/devel/petsc/3.12/src/dm/interface/dm.c<br>      [0]  DMStagSetUniformCoordinatesExplicit_1d() line 75 in /home/devel/petsc/3.12/src/dm/impls/stag/stag1d.c<br>      [0]  DMStagSetUniformCoordinatesExplicit() line 1166 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>      [0]  DMStagSetUniformCoordinatesProduct() line 1209 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br>      [0]  DMStagSetUniformCoordinates() line 1127 in /home/devel/petsc/3.12/src/dm/impls/stag/stagutils.c<br></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Lisandro Dalcin<br>============<br>Research Scientist<br>Extreme Computing Research Center (ECRC)<br>King Abdullah University of Science and Technology (KAUST)<br><a href="http://ecrc.kaust.edu.sa/" target="_blank">http://ecrc.kaust.edu.sa/</a><br></div></div></div></div></div>