[petsc-dev] Python garbage collector broken?

Barry Smith bsmith at petsc.dev
Mon Oct 3 10:21:54 CDT 2022


  Posted to https://gitlab.com/petsc/petsc/-/merge_requests/4619#note_1122550807 <https://gitlab.com/petsc/petsc/-/merge_requests/4619#note_1122550807>


> On Oct 3, 2022, at 11:13 AM, Stefano Zampini <stefano.zampini at gmail.com> wrote:
> 
> Just reconfigured today with release and got this
> 
> [szampini at localhost poisson]$ cat test.py 
> from petsc4py import PETSc
> 
> A = PETSc.Mat().create(comm=PETSc.COMM_WORLD)
> 
> [szampini at localhost poisson]$ PETSC_ARCH=arch-test mpiexec -n 2 python test.py 
> [0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
> [0]PETSC ERROR: Object is in wrong state
> [0]PETSC ERROR: Provided array in argument 1 is not sorted
> [0]PETSC ERROR: See https://petsc.org/release/faq/ <https://petsc.org/release/faq/> for trouble shooting.
> [0]PETSC ERROR: Petsc Release Version 3.18.0, unknown 
> [0]PETSC ERROR: Unknown Name on a arch-test named localhost.localdomain by szampini Mon Oct  3 18:12:34 2022
> [0]PETSC ERROR: Configure options PETSC_ARCH=arch-test
> [0]PETSC ERROR: #1 GarbageKeySortedIntersect_Private() at /home/szampini/Devel/petsc/src/sys/objects/garbage.c:93
> [1]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------
> [1]PETSC ERROR: Object is in wrong state
> [1]PETSC ERROR: Provided array in argument 1 is not sorted
> [1]PETSC ERROR: See https://petsc.org/release/faq/ <https://petsc.org/release/faq/> for trouble shooting.
> [1]PETSC ERROR: Petsc Release Version 3.18.0, unknown 
> [1]PETSC ERROR: Unknown Name on a arch-test named localhost.localdomain by szampini Mon Oct  3 18:12:34 2022
> [1]PETSC ERROR: Configure options PETSC_ARCH=arch-test
> [1]PETSC ERROR: #1 GarbageKeySortedIntersect_Private() at /home/szampini/Devel/petsc/src/sys/objects/garbage.c:93
> 
> -- 
> Stefano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20221003/338591d7/attachment.html>


More information about the petsc-dev mailing list