Lisandro : I cannot reproduce this error using a C code (ex160.c attached).
> > [dalcinl at trantor petsc4py-dev]$ mpiexec -n 1 python test-mat-baij.py > Traceback (most recent call last): > ?File "test-mat-baij.py", line 11, in <module> > ? ?A.convert('aij') > ?File "Mat.pyx", line 481, in petsc4py.PETSc.Mat.convert > (src/petsc4py.PETSc.c:75853) > petsc4py.PETSc.Error: error code 64 > [0] MatConvert() line 3847 in /home/devel/petsc/3.2/src/mat/interface/matrix.c > [0] MatConvert_MPIBAIJ_MPIAIJ() line 3161 in Why MatConvert_MPIBAIJ_MPIAIJ() is being called for sequential matrix? Hong > /home/devel/petsc/3.2/src/mat/impls/baij/mpi/mpibaij.c > [0] MatDestroy() line 1028 in /home/devel/petsc/3.2/src/mat/interface/matrix.c > [0] Corrupt argument: see > http://www.mcs.anl.gov/petsc/petsc-as/documentation/faq.html#valgrind > [0] Invalid Pointer to Object: Parameter # 1 > > > > > -- > Lisandro Dalcin > --------------- > CIMEC (INTEC/CONICET-UNL) > Predio CONICET-Santa Fe > Colectora RN 168 Km 472, Paraje El Pozo > 3000 Santa Fe, Argentina > Tel: +54-342-4511594 (ext 1011) > Tel/Fax: +54-342-4511169 > -------------- next part -------------- A non-text attachment was scrubbed... Name: ex160.c Type: text/x-csrc Size: 8566 bytes Desc: not available URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110919/9406c473/attachment.c>