Using parMetis in petsc for ordering

2007-01-08 Thread Dimitri Lecas
Hello, I have to test the ParMetis ordering for factorization and i would like to known if it's possible to use a user ordering ? If i understand the manual correctly, i have to use MatOrderingRegisterDynamic and PCFactorSetMatOrdering but the sentence Currently we support orderings only for

Using parMetis in petsc for ordering

2007-01-08 Thread Barry Smith
1) The PETSc LU and Cholesky solvers only run sequentially. 2) The parallel LU and Cholesky solvers PETSc interfaces to, SuperLU_dist, MUMPS, Spooles, DSCPACK do NOT accept an external ordering provided for them. Hence we do not have any setup for doing parallel matrix

MatSetValues

2007-01-08 Thread Matt Funk
Hi, i was wondering in MatSetValues, when i need to specify the number of columns, whether that is the number of column entries per row? So, if i want to insert two rows at five entries each, do i specify 5 or 10 for the number of columns? So something like this: m_ierr =

MatSetValues

2007-01-08 Thread Barry Smith
It is 5, also the length of GlobalColIndices is 5, not 10. Each row you pass in has the values in the same columns. Barry On Mon, 8 Jan 2007, Matt Funk wrote: Hi, i was wondering in MatSetValues, when i need to specify the number of columns, whether that is the number of column