leave my rows alone

2006-08-16 Thread Thomas Geenen
dear petsc users, is there a way to prevent Petsc during the assembly phase from redistributing matrix rows over cpu's ?? i like the way the rows are assigned to the cpu's during the setvalues phase. apparently petsc assigns the first nrows to cpu0 the second nrows to cpu1 etc. I could of

leave my rows alone

2006-08-16 Thread Matthew Knepley
On 8/16/06, Thomas Geenen geenen at gmail.com wrote: dear petsc users, is there a way to prevent Petsc during the assembly phase from redistributing matrix rows over cpu's ?? i like the way the rows are assigned to the cpu's during the setvalues phase. Actually, the layout of a matrix is

leave my rows alone

2006-08-16 Thread Satish Balay
On Wed, 16 Aug 2006, Thomas Geenen wrote: dear petsc users, is there a way to prevent Petsc during the assembly phase from redistributing matrix rows over cpu's ?? The row distribution is done at matrix creation time - and you can set the row distribution with MatSetSizes() [or

leave my rows alone

2006-08-16 Thread Thomas Geenen
On Wednesday 16 August 2006 22:14, Satish Balay wrote: On Wed, 16 Aug 2006, Thomas Geenen wrote: in matcreate i tell petsc that cpu0 owns 10 rows yes in matsetvalue i tell him which rows (maybe 1,9,23,46 etc) but petsc automatically assumes that cpu0 owns the first 10 rows matsetsizes