Hello,
given I have this piece of python code:
rank = MPI.COMM_WORLD.Get_rank()
sizes = [ 4, 5]
n = sizes[rank]
A = PETSc.Mat()
A.create()
A.setSizes( ((n, PETSc.DETERMINE), (n, PETSc.DETERMINE)) ) # sets the local
size, let petsc determine global size
A.setFromOptions(); A.setUp()
On Tue, Apr 14, 2015 at 4:11 AM, Florian Lindner mailingli...@xgm.de
wrote:
Hello,
given I have this piece of python code:
rank = MPI.COMM_WORLD.Get_rank()
sizes = [ 4, 5]
n = sizes[rank]
A = PETSc.Mat()
A.create()
A.setSizes( ((n, PETSc.DETERMINE), (n, PETSc.DETERMINE)) ) # sets the