about ISCreateGeneral() and MatGetSubMatrices()

Yujie recrusader at gmail.com
Mon Sep 29 13:33:18 CDT 2008

I am wondering how to use ISCreateGeneral().

Assuming I use 2cpus when I run my codes. I use MPI_COMM to create an object
of IS using ISCreateGeneral() and an array on a single cpu. how to
distribute this IS object on these 2cpus? If I use MatGetSubMatrices() to
get different submatrices on different cpus. I am wondering how to create IS
object, using PETSC_COMM_SELF? thanks a lot.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080929/e4322a0e/attachment.htm>

More information about the petsc-users mailing list