Re: [petsc-users] ParMETIS vs. CHACO when no partitioning is made

2020-08-18 Thread Matthew Knepley
On Mon, Aug 17, 2020 at 7:05 PM Fande Kong wrote: > IIRC, Chaco does not produce an arbitrary number of subdomains. The number > needs to be like 2^n. > No, Chaco can do an arbitrary number. Thanks, Matt > ParMETIS and PTScotch are much better, and they are production-level code. > If

Re: [petsc-users] ParMETIS vs. CHACO when no partitioning is made

2020-08-17 Thread Fande Kong
For this particular case (one subdoanin), it may be easy to fix in petsc. We could create a partitioning index filled with zeros. Fande, On Mon, Aug 17, 2020 at 5:04 PM Fande Kong wrote: > IIRC, Chaco does not produce an arbitrary number of subdomains. The number > needs to be like 2^n. > > Par

Re: [petsc-users] ParMETIS vs. CHACO when no partitioning is made

2020-08-17 Thread Fande Kong
IIRC, Chaco does not produce an arbitrary number of subdomains. The number needs to be like 2^n. ParMETIS and PTScotch are much better, and they are production-level code. If there is no particular reason, I would like to suggest staying with ParMETIS and PTScotch. Thanks, Fande, On Fri, Aug

Re: [petsc-users] ParMETIS vs. CHACO when no partitioning is made

2020-08-14 Thread Eda Oktay
Dear Barry, Thank you for answering. I am sending a sample code and a binary file. Thanks! Eda Barry Smith , 14 Ağu 2020 Cum, 18:49 tarihinde şunu yazdı: > >Could be a bug in Chaco or its call from PETSc for the special case of > one process. Could you send a sample code that demonstrates

Re: [petsc-users] ParMETIS vs. CHACO when no partitioning is made

2020-08-14 Thread Barry Smith
Could be a bug in Chaco or its call from PETSc for the special case of one process. Could you send a sample code that demonstrates the problem? Barry > On Aug 14, 2020, at 8:53 AM, Eda Oktay wrote: > > Hi all, > > I am trying to try something. I am using the same MatPartitioning codes

[petsc-users] ParMETIS vs. CHACO when no partitioning is made

2020-08-14 Thread Eda Oktay
Hi all, I am trying to try something. I am using the same MatPartitioning codes for both CHACO and ParMETIS: ierr = MatConvert(SymmA,MATMPIADJ,MAT_INITIAL_MATRIX,&AL);CHKERRQ(ierr); ierr = MatPartitioningCreate(MPI_COMM_WORLD,&part);CHKERRQ(ierr); ierr = MatPartitioningSetAdjacency(part,AL);C