This page was generated from unit-5a.3-petsc/petsc.ipynb.
5.3.1 Using PETScΒΆ
We learn how we can interface the popular parallel toolkit PETSc for solving linear equations and much more. We use the Python interface petsc4py. The whole Python file is n2p_ex1.py
[1]:
from ipyparallel import Cluster
c = await Cluster(engines="mpi").start_and_connect(n=4, activate=True)
Starting 4 engines with <class 'ipyparallel.cluster.launcher.MPIEngineSetLauncher'>
[2]:
%%px
from ngsolve import *
from netgen.occ import unit_square
from mpi4py.MPI import COMM_WORLD as comm
ngmesh = unit_square.GenerateMesh(maxh=0.1, comm=comm)
for l in range(4):
ngmesh.Refine()
mesh = Mesh(ngmesh)
[3]:
%%px
import numpy as np
import petsc4py.PETSc as psc
[4]:
%%px
fes = H1(mesh, order=1)
u,v = fes.TnT()
a = BilinearForm(grad(u)*grad(v)*dx+u*v*ds).Assemble()
f = LinearForm(x*v*dx).Assemble()
gfu = GridFunction(fes)
We convert the local sparse matrix to a local PETSc AIJ matrix:
[5]:
%%px
locmat = a.mat.local_mat
val,col,ind = locmat.CSR()
ind = np.array(ind, dtype='int32')
apsc_loc = psc.Mat().createAIJ(size=(locmat.height, locmat.width), csr=(ind,col,val), comm=MPI.COMM_SELF)
The NGSolve ParallelDofs object corresponds to a PETSc IndexSet object, which we create next. In PETSc, dofs are globally enumerated, what is not the case in NGSolve. For this purpose, a ParallelDofs class can generate a globally consistent enumeration of dofs. The generated globnums array contains the global dof-numbers of the local dofs.
[6]:
%%px
pardofs = fes.ParallelDofs()
globnums, nglob = pardofs.EnumerateGlobally()
# print (list(globnums))
iset = psc.IS().createGeneral (indices=globnums, comm=comm)
lgmap = psc.LGMap().createIS(iset)
We can now create the global matrix using our local2global map:
[7]:
%%px
mat = psc.Mat().createPython(size=nglob, comm=comm)
mat.setType(psc.Mat.Type.IS)
mat.setLGMap(lgmap)
mat.setISLocalMat(apsc_loc)
mat.assemble()
mat.convert("mpiaij");
[stderr:1] [5c736296b3b3:70267] Read -1, expected 19808, errno = 1
[5c736296b3b3:70267] Read -1, expected 39616, errno = 1
[5c736296b3b3:70267] Read -1, expected 60040, errno = 1
[5c736296b3b3:70267] Read -1, expected 19808, errno = 1
[5c736296b3b3:70267] Read -1, expected 19808, errno = 1
[5c736296b3b3:70267] Read -1, expected 19808, errno = 1
[5c736296b3b3:70267] Read -1, expected 7680, errno = 1
[5c736296b3b3:70267] Read -1, expected 545888, errno = 1
[5c736296b3b3:70267] Read -1, expected 10408, errno = 1
[5c736296b3b3:70267] Read -1, expected 18120, errno = 1
[stderr:3] [5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 30016, errno = 1
[stderr:2] [5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 20096, errno = 1
[5c736296b3b3:70268] Read -1, expected 39616, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 277472, errno = 1
[5c736296b3b3:70268] Read -1, expected 19968, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[stderr:0] [5c736296b3b3:70266] Read -1, expected 30020, errno = 1
[5c736296b3b3:70266] Read -1, expected 60040, errno = 1
[5c736296b3b3:70266] Read -1, expected 30020, errno = 1
[5c736296b3b3:70266] Read -1, expected 30020, errno = 1
[5c736296b3b3:70266] Read -1, expected 30020, errno = 1
[5c736296b3b3:70266] Read -1, expected 6448, errno = 1
[5c736296b3b3:70266] Read -1, expected 827664, errno = 1
[5c736296b3b3:70266] Read -1, expected 7728, errno = 1
[5c736296b3b3:70266] Read -1, expected 17948, errno = 1
[8]:
%%px
f.vec.Cumulate()
v1, v2 = mat.createVecs()
v2loc = v2.getSubVector(iset)
v2loc.getArray()[:] = f.vec.FV()
v2.restoreSubVector(iset, v2loc)
[stderr:3] [5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[stderr:0] [5c736296b3b3:70266] Read -1, expected 30020, errno = 1
[5c736296b3b3:70266] Read -1, expected 60040, errno = 1
[stderr:2] [5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 39616, errno = 1
[5c736296b3b3:70268] Read -1, expected 20096, errno = 1
[stderr:1] [5c736296b3b3:70267] Read -1, expected 19808, errno = 1
[5c736296b3b3:70267] Read -1, expected 60040, errno = 1
[5c736296b3b3:70267] Read -1, expected 39616, errno = 1
[9]:
%%px
ksp = psc.KSP()
ksp.create()
ksp.setOperators(mat)
ksp.setType(psc.KSP.Type.CG)
ksp.setNormType(psc.KSP.NormType.NORM_NATURAL)
ksp.getPC().setType("gamg")
# ksp.getPC().setGAMGType(psc.PC.GAMGType.CLASSICAL)
# ksp.getPC().setGAMGLevels(10)
ksp.setTolerances(rtol=1e-6, atol=0, divtol=1e16, max_it=4000)
ksp.solve(v2,v1)
printmaster ("petsc-its =", ksp.its)
[stderr:2] [5c736296b3b3:70268] Read -1, expected 19968, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 19968, errno = 1
[5c736296b3b3:70268] Read -1, expected 186860, errno = 1
[5c736296b3b3:70268] Read -1, expected 286176, errno = 1
[5c736296b3b3:70268] Read -1, expected 20104, errno = 1
[5c736296b3b3:70268] Read -1, expected 39944, errno = 1
[5c736296b3b3:70268] Read -1, expected 7680, errno = 1
[5c736296b3b3:70268] Read -1, expected 1144704, errno = 1
[5c736296b3b3:70268] Read -1, expected 747440, errno = 1
[5c736296b3b3:70268] Read -1, expected 10240, errno = 1
[5c736296b3b3:70268] Read -1, expected 20168, errno = 1
[5c736296b3b3:70268] Read -1, expected 10240, errno = 1
[5c736296b3b3:70268] Read -1, expected 20168, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 19888, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 19888, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 19888, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 19888, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 19888, errno = 1
[5c736296b3b3:70268] Read -1, expected 59808, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 39776, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 39776, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 39776, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 39776, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 39776, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 39776, errno = 1
[5c736296b3b3:70268] Read -1, expected 5200, errno = 1
[5c736296b3b3:70268] Read -1, expected 39008, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 18120, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 18120, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 18120, errno = 1
[5c736296b3b3:70268] Read -1, expected 30016, errno = 1
[5c736296b3b3:70268] Read -1, expected 72944, errno = 1
[5c736296b3b3:70268] Read -1, expected 45752, errno = 1
[5c736296b3b3:70268] Read -1, expected 145888, errno = 1
[5c736296b3b3:70268] Read -1, expected 91504, errno = 1
[5c736296b3b3:70268] Read -1, expected 33904, errno = 1
[5c736296b3b3:70268] Read -1, expected 6528, errno = 1
[5c736296b3b3:70268] Read -1, expected 11568, errno = 1
[5c736296b3b3:70268] Read -1, expected 135616, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4080, errno = 1
[5c736296b3b3:70268] Read -1, expected 4080, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 8052, errno = 1
[5c736296b3b3:70268] Read -1, expected 16104, errno = 1
[5c736296b3b3:70268] Read -1, expected 5088, errno = 1
[5c736296b3b3:70268] Read -1, expected 8024, errno = 1
[5c736296b3b3:70268] Read -1, expected 32096, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] R
[stderr:3] [5c736296b3b3:70269] Read -1, expected 30016, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 29904, errno = 1
[5c736296b3b3:70269] Read -1, expected 379920, errno = 1
[5c736296b3b3:70269] Read -1, expected 59816, errno = 1
[5c736296b3b3:70269] Read -1, expected 12848, errno = 1
[5c736296b3b3:70269] Read -1, expected 15520, errno = 1
[5c736296b3b3:70269] Read -1, expected 1519680, errno = 1
[5c736296b3b3:70269] Read -1, expected 30016, errno = 1
[5c736296b3b3:70269] Read -1, expected 30016, errno = 1
[5c736296b3b3:70269] Read -1, expected 10240, errno = 1
[5c736296b3b3:70269] Read -1, expected 10240, errno = 1
[5c736296b3b3:70269] Read -1, expected 10240, errno = 1
[5c736296b3b3:70269] Read -1, expected 10240, errno = 1
[5c736296b3b3:70269] Read -1, expected 10240, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20480, errno = 1
[5c736296b3b3:70269] Read -1, expected 20480, errno = 1
[5c736296b3b3:70269] Read -1, expected 20480, errno = 1
[5c736296b3b3:70269] Read -1, expected 20480, errno = 1
[5c736296b3b3:70269] Read -1, expected 20480, errno = 1
[5c736296b3b3:70269] Read -1, expected 20480, errno = 1
[5c736296b3b3:70269] Read -1, expected 6720, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 10048, errno = 1
[5c736296b3b3:70269] Read -1, expected 10048, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 10048, errno = 1
[5c736296b3b3:70269] Read -1, expected 24136, errno = 1
[5c736296b3b3:70269] Read -1, expected 48272, errno = 1
[5c736296b3b3:70269] Read -1, expected 33820, errno = 1
[5c736296b3b3:70269] Read -1, expected 7384, errno = 1
[5c736296b3b3:70269] Read -1, expected 135280, errno = 1
[5c736296b3b3:70269] Read -1, expected 6096, errno = 1
[5c736296b3b3:70269] Read -1, expected 4752, errno = 1
[5c736296b3b3:70269] Read -1, expected 24384, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 7376, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[stdout:0] petsc-its = 8
[stderr:1] [5c736296b3b3:70267] Read -1, expected 10408, errno = 1
[5c736296b3b3:70267] Read -1, expected 18120, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 10408, errno = 1
[5c736296b3b3:70267] Read -1, expected 18120, errno = 1
[5c736296b3b3:70267] Read -1, expected 165220, errno = 1
[5c736296b3b3:70267] Read -1, expected 261448, errno = 1
[5c736296b3b3:70267] Read -1, expected 20824, errno = 1
[5c736296b3b3:70267] Read -1, expected 36248, errno = 1
[5c736296b3b3:70267] Read -1, expected 15376, errno = 1
[5c736296b3b3:70267] Read -1, expected 660880, errno = 1
[5c736296b3b3:70267] Read -1, expected 1045792, errno = 1
[5c736296b3b3:70267] Read -1, expected 10608, errno = 1
[5c736296b3b3:70267] Read -1, expected 19888, errno = 1
[5c736296b3b3:70267] Read -1, expected 10608, errno = 1
[5c736296b3b3:70267] Read -1, expected 19888, errno = 1
[5c736296b3b3:70267] Read -1, expected 25060, errno = 1
[5c736296b3b3:70267] Read -1, expected 20168, errno = 1
[5c736296b3b3:70267] Read -1, expected 25060, errno = 1
[5c736296b3b3:70267] Read -1, expected 20168, errno = 1
[5c736296b3b3:70267] Read -1, expected 25060, errno = 1
[5c736296b3b3:70267] Read -1, expected 20168, errno = 1
[5c736296b3b3:70267] Read -1, expected 25060, errno = 1
[5c736296b3b3:70267] Read -1, expected 20168, errno = 1
[5c736296b3b3:70267] Read -1, expected 25060, errno = 1
[5c736296b3b3:70267] Read -1, expected 20168, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 50120, errno = 1
[5c736296b3b3:70267] Read -1, expected 40336, errno = 1
[5c736296b3b3:70267] Read -1, expected 50120, errno = 1
[5c736296b3b3:70267] Read -1, expected 40336, errno = 1
[5c736296b3b3:70267] Read -1, expected 50120, errno = 1
[5c736296b3b3:70267] Read -1, expected 40336, errno = 1
[5c736296b3b3:70267] Read -1, expected 50120, errno = 1
[5c736296b3b3:70267] Read -1, expected 40336, errno = 1
[5c736296b3b3:70267] Read -1, expected 50120, errno = 1
[5c736296b3b3:70267] Read -1, expected 40336, errno = 1
[5c736296b3b3:70267] Read -1, expected 50120, errno = 1
[5c736296b3b3:70267] Read -1, expected 40336, errno = 1
[5c736296b3b3:70267] Read -1, expected 67216, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 17948, errno = 1
[5c736296b3b3:70267] Read -1, expected 19968, errno = 1
[5c736296b3b3:70267] Read -1, expected 17948, errno = 1
[5c736296b3b3:70267] Read -1, expected 19968, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 17948, errno = 1
[5c736296b3b3:70267] Read -1, expected 19968, errno = 1
[5c736296b3b3:70267] Read -1, expected 46500, errno = 1
[5c736296b3b3:70267] Read -1, expected 46000, errno = 1
[5c736296b3b3:70267] Read -1, expected 93000, errno = 1
[5c736296b3b3:70267] Read -1, expected 92000, errno = 1
[5c736296b3b3:70267] Read -1, expected 26532, errno = 1
[5c736296b3b3:70267] Read -1, expected 5220, errno = 1
[5c736296b3b3:70267] Read -1, expected 4840, errno = 1
[5c736296b3b3:70267] Read -1, expected 106128, errno = 1
[5c736296b3b3:70267] Read -1, expected 20880, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5536, errno = 1
[5c736296b3b3:70267] Read -1, expected 10804, errno = 1
[5c736296b3b3:70267] Read -1, expected 11072, errno = 1
[5c736296b3b3:70267] Read -1, expected 21608, errno = 1
[5c736296b3b3:70267] Read -1, expected 9492, errno = 1
[5c736296b3b3:70267] Read -1, expected 37968, errno = 1
[5c736296b3b3:70267] Read -1, expected 4656, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 4832, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 5448, errno = 1
[5c736296b3b3:70267] Read -1, expected 6520, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[5c736296b3b3:70267] Read -1, expected 35896, errno = 1
[5c736296b3b3:70267] Read -1, expected 39936, errno = 1
[stderr:0] [5c736296b3b3:70266] Read -1, expected 17948, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 17948, errno = 1
[5c736296b3b3:70266] Read -1, expected 217216, errno = 1
[5c736296b3b3:70266] Read -1, expected 35904, errno = 1
[5c736296b3b3:70266] Read -1, expected 12880, errno = 1
[5c736296b3b3:70266] Read -1, expected 868864, errno = 1
[5c736296b3b3:70266] Read -1, expected 9216, errno = 1
[5c736296b3b3:70266] Read -1, expected 25060, errno = 1
[5c736296b3b3:70266] Read -1, expected 25060, errno = 1
[5c736296b3b3:70266] Read -1, expected 10608, errno = 1
[5c736296b3b3:70266] Read -1, expected 10608, errno = 1
[5c736296b3b3:70266] Read -1, expected 10608, errno = 1
[5c736296b3b3:70266] Read -1, expected 10608, errno = 1
[5c736296b3b3:70266] Read -1, expected 10608, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 21216, errno = 1
[5c736296b3b3:70266] Read -1, expected 21216, errno = 1
[5c736296b3b3:70266] Read -1, expected 21216, errno = 1
[5c736296b3b3:70266] Read -1, expected 21216, errno = 1
[5c736296b3b3:70266] Read -1, expected 21216, errno = 1
[5c736296b3b3:70266] Read -1, expected 21216, errno = 1
[5c736296b3b3:70266] Read -1, expected 64704, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 10408, errno = 1
[5c736296b3b3:70266] Read -1, expected 10408, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 10408, errno = 1
[5c736296b3b3:70266] Read -1, expected 22876, errno = 1
[5c736296b3b3:70266] Read -1, expected 45752, errno = 1
[5c736296b3b3:70266] Read -1, expected 7592, errno = 1
[5c736296b3b3:70266] Read -1, expected 30368, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4992, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 8948, errno = 1
[5c736296b3b3:70266] Read -1, expected 17896, errno = 1
[5c736296b3b3:70266] Read -1, expected 5168, errno = 1
[5c736296b3b3:70266] Read -1, expected 4120, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno =
[10]:
%%px
v1loc = v1.getSubVector(iset)
for i in range(len(gfu.vec)):
gfu.vec.FV()[i] = v1loc.getArray()[i]
[stderr:0] 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4568, errno = 1
[5c736296b3b3:70266] Read -1, expected 4832, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 20816, errno = 1
[5c736296b3b3:70266] Read -1, expected 30020, errno = 1
[stderr:1] [5c736296b3b3:70267] Read -1, expected 19808, errno = 1
[5c736296b3b3:70267] Read -1, expected 60040, errno = 1
[stderr:2] ead -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 6520, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 4088, errno = 1
[5c736296b3b3:70268] Read -1, expected 7376, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 60032, errno = 1
[5c736296b3b3:70268] Read -1, expected 36240, errno = 1
[5c736296b3b3:70268] Read -1, expected 10048, errno = 1
[5c736296b3b3:70268] Read -1, expected 39616, errno = 1
[stderr:3] [5c736296b3b3:70269] Read -1, expected 20096, errno = 1
[11]:
from ngsolve.webgui import Draw
gfu = c[:]["gfu"]
Draw (gfu[0]);
[ ]: