<div dir="ltr"><div dir="ltr"><div>Hello,</div><div><br></div><div>I have a Laplacian matrix PL of matrix A and I try to partition A using PARMETIS. Since PL is sequential and not adjacency matrix, I converted PL to AL, then write the following code:</div><div><br></div><div>  ierr = MatConvert(PL,MATMPIADJ,MAT_INITIAL_MATRIX,&AL);CHKERRQ(ierr);        </div><div>  ierr = MatMeshToCellGraph(AL,2,&dual);CHKERRQ(ierr); </div><div>  ierr = MatPartitioningCreate(MPI_COMM_WORLD,&part);CHKERRQ(ierr);</div><div>  ierr = MatPartitioningSetAdjacency(part,dual);CHKERRQ(ierr);               </div><div>  ierr = MatPartitioningSetFromOptions(part);CHKERRQ(ierr);</div><div>  ierr = MatPartitioningApply(part,&partitioning);CHKERRQ(ierr);</div><div>  ierr = ISView(partitioning,PETSC_VIEWER_STDOUT_WORLD);CHKERRQ(ierr);       </div><div>  ierr = ISDestroy(&partitioning);CHKERRQ(ierr);</div><div>  ierr = MatPartitioningDestroy(&part);CHKERRQ(ierr);</div><div><br></div><div>However, when I look at partitioning with ISView, the index set consists of zeros only. Is that because I have only one processor and my codes are written for only one processor, or is there another problem? I ran my code with -mat_partitioning_type parmetis.</div><div><br></div><div>Thanks,</div><div><br></div><div>Eda</div></div></div>