problems with MatLoad

Andreas Grassl Andreas.Grassl at student.uibk.ac.at
Wed Apr 15 10:42:11 CDT 2009


Andreas Grassl schrieb:
> Matthew Knepley schrieb:
>>
>> The Viewer has COMM_WORLD, but you are reading a matrix with COMM_SELF.
>> You need to create
>> a separate viewer for each process to do what you want.
>>
> 
> Thank you for the fast answer. I resolved this issue now, but how could i gather
> the Matrix from COMM_SELF to COMM_WORLD. I searched for functions doing such
> matrix copying, but MatConvert and MatCopy act on the same communicator.
> 

I think I solved this as well, I simply invoked MatGetValues on one communicator
and MatSetValues on the other.


Kind Regards,

ando

-- 
 /"\                               Grassl Andreas
 \ /    ASCII Ribbon Campaign      Uni Innsbruck Institut f. Mathematik
  X      against HTML email        Technikerstr. 13 Zi 709
 / \                               +43 (0)512 507 6091


More information about the petsc-users mailing list