[petsc-users] PetscObjectCompose error

Mark Adams mfadams at lbl.gov
Sat Apr 11 17:50:09 CDT 2020


I am trying to compose a ISColoring to a Mat. THe code works, I know JacP
and iscoloring are valid Mat and ISColoring. I have this:

ierr = ((PetscObject)JacP,"coloring",(PetscObject)iscoloring);CHKERRQ(ierr);

But it says my ISColoring is not valid. Any suggestions?

[0]PETSC ERROR: --------------------- Error Message
--------------------------------------------------------------
[0]PETSC ERROR: Corrupt argument:
https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[0]PETSC ERROR: Invalid type of object: Parameter # 3
[0]PETSC ERROR: See https://www.mcs.anl.gov/petsc/documentation/faq.html
for trouble shooting.
[0]PETSC ERROR: Petsc Development GIT revision: v3.13-99-gc486425  GIT
Date: 2020-04-10 07:39:29 -0400
[0]PETSC ERROR: ./ex11 on a arch-summit-dbg-gnu-cuda named d25n09 by adams
Sat Apr 11 18:45:44 2020
[0]PETSC ERROR: Configure options --with-fc=0 --COPTFLAGS="-g -O0 -fPIC"
--CXXOPTFLAGS="-g -O0 -fPIC" --FOPTFLAGS="-g -O0 -fPIC" --CUDAOPTFLAGS="-O0
-g" --with-ssl=0 --with-batch=0 --with-cxx=mpicxx --with-mpiexec="jsrun
-g1" --with-cuda=1 --with-cudac=nvcc --download-p4est=1 --download-zlib
--download-hdf5=1 --download-metis --with-make-np=16 --download-parmetis
--download-ctetgen --download-amgx
--with-blaslapack-lib="-L/autofs/nccs-svm1_sw/summit/.swci/1-compute/opt/spack/20180914/linux-rhel7-ppc64le/gcc-6.4.0/netlib-lapack-3.8.0-wcabdyqhdi5rooxbkqa6x5d7hxyxwdkm/lib64
-lblas -llapack" --with-cc=mpicc --with-shared-libraries=1 --with-x=0
--with-64-bit-indices=0 --with-debugging=1
PETSC_ARCH=arch-summit-dbg-gnu-cuda --with-openmp --force
[0]PETSC ERROR: #1 PetscObjectCompose() line 727 in
/autofs/nccs-svm1_home1/adams/petsc/src/sys/objects/inherit.c
[0]PETSC ERROR: #2 FPLandauCUDAJacobian() line 697 in
/autofs/nccs-svm1_home1/adams/petsc/src/vec/vec/impls/seq/seqcuda/landau.cu
[0]PETSC ERROR: #3 FormLandau() line 531 in
/autofs/nccs-svm1_home1/adams/petsc/src/dm/impls/plex/xgc_dmplex.c
[0]PETSC ERROR: #4 FPLandIFunction() line 765 in
/autofs/nccs-svm1_home1/adams/petsc/src/dm/impls/plex/xgc_dmplex.c
[0]PETSC ERROR: #5 REIFunction() line 736 in ex11.c
[0]PETSC ERROR: #6 TSComputeIFunction() line 894 in
/autofs/nccs-svm1_home1/adams/petsc/src/ts/interface/ts.c
[0]PETSC ERROR: #7 SNESTSFormFunction_ARKIMEX() line 1034 in
/autofs/nccs-svm1_home1/adams/petsc/src/ts/impls/arkimex/arkimex.c
[0]PETSC ERROR: #8 SNESTSFormFunction() line 4983 in
/autofs/nccs-svm1_home1/adams/petsc/src/ts/interface/ts.c
[0]PETSC ERROR: #9 SNESComputeFunction() line 2383 in
/autofs/nccs-svm1_home1/adams/petsc/src/snes/interface/snes.c
[0]PETSC ERROR: #10 SNESSolve_NEWTONLS() line 175 in
/autofs/nccs-svm1_home1/adams/petsc/src/snes/impls/ls/ls.c
[0]PETSC ERROR: #11 SNESSolve() line 4520 in
/autofs/nccs-svm1_home1/adams/petsc/src/snes/interface/snes.c
[0]PETSC ERROR: #12 TSStep_ARKIMEX() line 811 in
/autofs/nccs-svm1_home1/adams/petsc/src/ts/impls/arkimex/arkimex.c
[0]PETSC ERROR: #13 TSStep() line 3721 in
/autofs/nccs-svm1_home1/adams/petsc/src/ts/interface/ts.c
[0]PETSC ERROR: #14 TSSolve() line 4127 in
/autofs/nccs-svm1_home1/adams/petsc/src/ts/interface/ts.c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200411/384660c5/attachment.html>


More information about the petsc-users mailing list