[petsc-users] PETSC ERROR in DMGetLocalBoundingBox?
danyang.su at gmail.com
danyang.su at gmail.com
Fri Mar 3 18:36:10 CST 2023
Hi All,
I get a very strange error after upgrading PETSc version to 3.18.3,
indicating some object is already free. The error is begin and does not
crash the code. There is no error before PETSc 3.17.5 versions.
!Check coordinates
call DMGetCoordinateDM(dmda_flow%da,cda,ierr)
CHKERRQ(ierr)
call DMGetCoordinates(dmda_flow%da,gc,ierr)
CHKERRQ(ierr)
call DMGetLocalBoundingBox(dmda_flow%da,lmin,lmax,ierr)
CHKERRQ(ierr)
call DMGetBoundingBox(dmda_flow%da,gmin,gmax,ierr)
CHKERRQ(ierr)
[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
[0]PETSC ERROR: Corrupt argument: https://petsc.org/release/faq/#valgrind
[0]PETSC ERROR: Object already free: Parameter # 1
[0]PETSC ERROR: See https://petsc.org/release/faq/ for trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.18.3, Dec 28, 2022
[0]PETSC ERROR: ../min3p-hpc-mpi-petsc-3.18.3 on a linux-gnu-dbg named
starblazer by dsu Fri Mar 3 16:26:03 2023
[0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++
--with-fc=gfortran --download-mpich --download-scalapack --download-parmetis
--download-metis --download-mumps --download-ptscotch --download-chaco
--download-fblaslapack --download-hypre --download-superlu_dist
--download-hdf5=yes --download-ctetgen --download-zlib --download-pnetcdf
--download-cmake --with-hdf5-fortran-bindings --with-debugging=1
[0]PETSC ERROR: #1 VecGetArrayRead() at
/home/dsu/Soft/petsc/petsc-3.18.3/src/vec/vec/interface/rvector.c:1928
[0]PETSC ERROR: #2 DMGetLocalBoundingBox() at
/home/dsu/Soft/petsc/petsc-3.18.3/src/dm/interface/dmcoordinates.c:897
[0]PETSC ERROR: #3
/home/dsu/Work/min3p-dbs-backup/src/project/makefile_p/../../solver/solver_d
dmethod.F90:2140
Any suggestion on this?
Thanks,
Danyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230303/79d448a5/attachment.html>
More information about the petsc-users
mailing list