How to copy global data to local ?

2009-12-01 Thread Barry Smith
You misunderstand the usage of MatGetSubMatrix(). Any process can request ANY row, including rows that are not originally owned by that process. Barry On Dec 1, 2009, at 8:29 AM, ming zhu wrote: It seems that MatGetSubMatrix() only get the local matrix for the processor If U

how to run petsc on different machine

2009-12-01 Thread Satish Balay
--download-mpich=1 defaults to gforker i.e a single machine. If you wish to run on multiple machines - then you'll have to figureout what mechanism you'd like to use - and then direct the MPI install for that method. For eg: - the common method is to use MPD. So you can install petsc with

How to copy global data to local ?

2009-12-01 Thread Barry Smith
Don't know what MatGetSubMatrixRaw() is, but based on the calling sequence you are asking for the ith row whatever that is, and n columns in the array indices For MatGetSubMatrix() each process can ask for any rows it wants, but all the processors have to ask for the same columns

How to copy global data to local ?

2009-12-01 Thread Dave May
://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091201/bde08404/attachment.htm