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
[stderr:3] [e278b3a455ef:67664] Read -1, expected 4096, errno = 1

[stderr:1] [e278b3a455ef:67662] Read -1, expected 4096, errno = 1

[stderr:2] [e278b3a455ef:67663] Read -1, expected 4096, errno = 1

[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] [e278b3a455ef:67662] Read -1, expected 20832, errno = 1
[e278b3a455ef:67662] Read -1, expected 41664, errno = 1
[e278b3a455ef:67662] Read -1, expected 60040, errno = 1
[e278b3a455ef:67662] Read -1, expected 20832, errno = 1
[e278b3a455ef:67662] Read -1, expected 20832, errno = 1
[e278b3a455ef:67662] Read -1, expected 20832, errno = 1
[e278b3a455ef:67662] Read -1, expected 10240, errno = 1
[e278b3a455ef:67662] Read -1, expected 574048, errno = 1

[stderr:3] [e278b3a455ef:67664] Read -1, expected 18048, errno = 1

[stderr:0] [e278b3a455ef:67661] Read -1, expected 30020, errno = 1
[e278b3a455ef:67661] Read -1, expected 60040, errno = 1
[e278b3a455ef:67661] Read -1, expected 30020, errno = 1
[e278b3a455ef:67661] Read -1, expected 30020, errno = 1
[e278b3a455ef:67661] Read -1, expected 30020, errno = 1
[e278b3a455ef:67661] Read -1, expected 5168, errno = 1
[e278b3a455ef:67661] Read -1, expected 827664, errno = 1
[e278b3a455ef:67661] Read -1, expected 9008, errno = 1

[stderr:2] [e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 18048, errno = 1
[e278b3a455ef:67663] Read -1, expected 41664, errno = 1
[e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 248544, 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:2] [e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 41664, errno = 1
[e278b3a455ef:67663] Read -1, expected 18048, errno = 1

[stderr:3] [e278b3a455ef:67664] Read -1, expected 18048, errno = 1

[stderr:1] [e278b3a455ef:67662] Read -1, expected 20832, errno = 1
[e278b3a455ef:67662] Read -1, expected 60040, errno = 1
[e278b3a455ef:67662] Read -1, expected 41664, errno = 1

[stderr:0] [e278b3a455ef:67661] Read -1, expected 30020, errno = 1
[e278b3a455ef:67661] Read -1, expected 60040, 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] [e278b3a455ef:67663] Read -1, expected 20992, errno = 1
[e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 167252, errno = 1
[e278b3a455ef:67663] Read -1, expected 300968, errno = 1
[e278b3a455ef:67663] Read -1, expected 18056, errno = 1
[e278b3a455ef:67663] Read -1, expected 41992, errno = 1
[e278b3a455ef:67663] Read -1, expected 8960, errno = 1
[e278b3a455ef:67663] Read -1, expected 669008, errno = 1
[e278b3a455ef:67663] Read -1, expected 1203872, errno = 1
[e278b3a455ef:67663] Read -1, expected 9280, errno = 1
[e278b3a455ef:67663] Read -1, expected 21256, errno = 1
[e278b3a455ef:67663] Read -1, expected 30008, errno = 1
[e278b3a455ef:67663] Read -1, expected 20928, errno = 1
[e278b3a455ef:67663] Read -1, expected 30008, errno = 1
[e278b3a455ef:67663] Read -1, expected 20928, errno = 1
[e278b3a455ef:67663] Read -1, expected 30008, errno = 1
[e278b3a455ef:67663] Read -1, expected 20928, errno = 1
[e278b3a455ef:67663] Read -1, expected 30008, errno = 1
[e278b3a455ef:67663] Read -1, expected 20928, errno = 1
[e278b3a455ef:67663] Read -1, expected 30008, errno = 1
[e278b3a455ef:67663] Read -1, expected 20928, errno = 1
[e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 20992, errno = 1
[e278b3a455ef:67663] Read -1, expected 56744, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 21256, errno = 1
[e278b3a455ef:67663] Read -1, expected 9280, errno = 1
[e278b3a455ef:67663] Read -1, expected 60016, errno = 1
[e278b3a455ef:67663] Read -1, expected 41856, errno = 1
[e278b3a455ef:67663] Read -1, expected 60016, errno = 1
[e278b3a455ef:67663] Read -1, expected 41856, errno = 1
[e278b3a455ef:67663] Read -1, expected 60016, errno = 1
[e278b3a455ef:67663] Read -1, expected 41856, errno = 1
[e278b3a455ef:67663] Read -1, expected 60016, errno = 1
[e278b3a455ef:67663] Read -1, expected 41856, errno = 1
[e278b3a455ef:67663] Read -1, expected 60016, errno = 1
[e278b3a455ef:67663] Read -1, expected 41856, errno = 1
[e278b3a455ef:67663] Read -1, expected 60016, errno = 1
[e278b3a455ef:67663] Read -1, expected 41856, errno = 1
[e278b3a455ef:67663] Read -1, expected 35200, errno = 1
[e278b3a455ef:67663] Read -1, expected 4608, errno = 1
[e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 20992, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 28480, errno = 1
[e278b3a455ef:67663] Read -1, expected 19060, errno = 1
[e278b3a455ef:67663] Read -1, expected 28480, errno = 1
[e278b3a455ef:67663] Read -1, expected 19060, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 28480, errno = 1
[e278b3a455ef:67663] Read -1, expected 19060, errno = 1
[e278b3a455ef:67663] Read -1, expected 69316, errno = 1
[e278b3a455ef:67663] Read -1, expected 48164, errno = 1
[e278b3a455ef:67663] Read -1, expected 138632, errno = 1
[e278b3a455ef:67663] Read -1, expected 96328, errno = 1
[e278b3a455ef:67663] Read -1, expected 36184, errno = 1
[e278b3a455ef:67663] Read -1, expected 6864, errno = 1
[e278b3a455ef:67663] Read -1, expected 9616, errno = 1
[e278b3a455ef:67663] Read -1, expected 144736, errno = 1
[e278b3a455ef:67663] Read -1, expected 7176, errno = 1
[e278b3a455ef:67663] Read -1, expected 14352, errno = 1
[e278b3a455ef:67663] Read -1, expected 5168, errno = 1
[e278b3a455ef:67663] Read -1, expected 7672, errno = 1
[e278b3a455ef:67663] Read -1, expected 30688, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 6856, errno = 1
[e278b3a455ef:67663] Read -1, expected 7272, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1
[e278b3a455ef:67663] Read -1, expected 56960, errno = 1
[e278b3a455ef:67663] Read -1, expected 38120, errno = 1

[stdout:0] petsc-its = 8

[stderr:3] [e278b3a455ef:67664] Read -1, expected 28480, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 341124, errno = 1
[e278b3a455ef:67664] Read -1, expected 5160, errno = 1
[e278b3a455ef:67664] Read -1, expected 56752, errno = 1
[e278b3a455ef:67664] Read -1, expected 10320, errno = 1
[e278b3a455ef:67664] Read -1, expected 1364496, errno = 1
[e278b3a455ef:67664] Read -1, expected 20640, errno = 1
[e278b3a455ef:67664] Read -1, expected 30008, errno = 1
[e278b3a455ef:67664] Read -1, expected 9280, errno = 1
[e278b3a455ef:67664] Read -1, expected 9280, errno = 1
[e278b3a455ef:67664] Read -1, expected 9280, errno = 1
[e278b3a455ef:67664] Read -1, expected 9280, errno = 1
[e278b3a455ef:67664] Read -1, expected 9280, errno = 1
[e278b3a455ef:67664] Read -1, expected 28372, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 30008, errno = 1
[e278b3a455ef:67664] Read -1, expected 18560, errno = 1
[e278b3a455ef:67664] Read -1, expected 18560, errno = 1
[e278b3a455ef:67664] Read -1, expected 18560, errno = 1
[e278b3a455ef:67664] Read -1, expected 18560, errno = 1
[e278b3a455ef:67664] Read -1, expected 18560, errno = 1
[e278b3a455ef:67664] Read -1, expected 18560, errno = 1
[e278b3a455ef:67664] Read -1, expected 5360, errno = 1
[e278b3a455ef:67664] Read -1, expected 28480, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 9024, errno = 1
[e278b3a455ef:67664] Read -1, expected 9024, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 9024, errno = 1
[e278b3a455ef:67664] Read -1, expected 21664, errno = 1
[e278b3a455ef:67664] Read -1, expected 43328, errno = 1
[e278b3a455ef:67664] Read -1, expected 32744, errno = 1
[e278b3a455ef:67664] Read -1, expected 7280, errno = 1
[e278b3a455ef:67664] Read -1, expected 130976, errno = 1
[e278b3a455ef:67664] Read -1, expected 5024, errno = 1
[e278b3a455ef:67664] Read -1, expected 6012, errno = 1
[e278b3a455ef:67664] Read -1, expected 24048, errno = 1
[e278b3a455ef:67664] Read -1, expected 5760, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 7272, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1
[e278b3a455ef:67664] Read -1, expected 18048, errno = 1

[stderr:0] [e278b3a455ef:67661] Read -1, expected 16748, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 197308, errno = 1
[e278b3a455ef:67661] Read -1, expected 33504, errno = 1
[e278b3a455ef:67661] Read -1, expected 789232, errno = 1
[e278b3a455ef:67661] Read -1, expected 10752, errno = 1
[e278b3a455ef:67661] Read -1, expected 10288, errno = 1
[e278b3a455ef:67661] Read -1, expected 24420, errno = 1
[e278b3a455ef:67661] Read -1, expected 9648, errno = 1
[e278b3a455ef:67661] Read -1, expected 9648, errno = 1
[e278b3a455ef:67661] Read -1, expected 9648, errno = 1
[e278b3a455ef:67661] Read -1, expected 9648, errno = 1
[e278b3a455ef:67661] Read -1, expected 9648, errno = 1
[e278b3a455ef:67661] Read -1, expected 16748, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 24420, errno = 1
[e278b3a455ef:67661] Read -1, expected 19296, errno = 1
[e278b3a455ef:67661] Read -1, expected 19296, errno = 1
[e278b3a455ef:67661] Read -1, expected 19296, errno = 1
[e278b3a455ef:67661] Read -1, expected 19296, errno = 1
[e278b3a455ef:67661] Read -1, expected 19296, errno = 1
[e278b3a455ef:67661] Read -1, expected 19296, errno = 1
[e278b3a455ef:67661] Read -1, expected 61168, errno = 1
[e278b3a455ef:67661] Read -1, expected 16748, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 9416, errno = 1
[e278b3a455ef:67661] Read -1, expected 9416, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 9416, errno = 1
[e278b3a455ef:67661] Read -1, expected 20556, errno = 1
[e278b3a455ef:67661] Read -1, expected 41112, errno = 1
[e278b3a455ef:67661] Read -1, expected 7548, errno = 1
[e278b3a455ef:67661] Read -1, expected 30192, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 5296, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 8460, errno = 1
[e278b3a455ef:67661] Read -1, expected 16920, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4328, errno = 1
[e278b3a455ef:67661] Read -1, expected 4520, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1
[e278b3a455ef:67661] Read -1, expected 18832, errno = 1

[stderr:1] [e278b3a455ef:67662] Read -1, expected 9416, errno = 1
[e278b3a455ef:67662] Read -1, expected 19060, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 149244, errno = 1
[e278b3a455ef:67662] Read -1, expected 5124, errno = 1
[e278b3a455ef:67662] Read -1, expected 274972, errno = 1
[e278b3a455ef:67662] Read -1, expected 18840, errno = 1
[e278b3a455ef:67662] Read -1, expected 38128, errno = 1
[e278b3a455ef:67662] Read -1, expected 596976, errno = 1
[e278b3a455ef:67662] Read -1, expected 20496, errno = 1
[e278b3a455ef:67662] Read -1, expected 1099888, errno = 1
[e278b3a455ef:67662] Read -1, expected 9648, errno = 1
[e278b3a455ef:67662] Read -1, expected 20928, errno = 1
[e278b3a455ef:67662] Read -1, expected 24420, errno = 1
[e278b3a455ef:67662] Read -1, expected 21256, errno = 1
[e278b3a455ef:67662] Read -1, expected 24420, errno = 1
[e278b3a455ef:67662] Read -1, expected 21256, errno = 1
[e278b3a455ef:67662] Read -1, expected 24420, errno = 1
[e278b3a455ef:67662] Read -1, expected 21256, errno = 1
[e278b3a455ef:67662] Read -1, expected 24420, errno = 1
[e278b3a455ef:67662] Read -1, expected 21256, errno = 1
[e278b3a455ef:67662] Read -1, expected 24420, errno = 1
[e278b3a455ef:67662] Read -1, expected 21256, errno = 1
[e278b3a455ef:67662] Read -1, expected 9416, errno = 1
[e278b3a455ef:67662] Read -1, expected 19060, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 9648, errno = 1
[e278b3a455ef:67662] Read -1, expected 20928, errno = 1
[e278b3a455ef:67662] Read -1, expected 48840, errno = 1
[e278b3a455ef:67662] Read -1, expected 42512, errno = 1
[e278b3a455ef:67662] Read -1, expected 48840, errno = 1
[e278b3a455ef:67662] Read -1, expected 42512, errno = 1
[e278b3a455ef:67662] Read -1, expected 48840, errno = 1
[e278b3a455ef:67662] Read -1, expected 42512, errno = 1
[e278b3a455ef:67662] Read -1, expected 48840, errno = 1
[e278b3a455ef:67662] Read -1, expected 42512, errno = 1
[e278b3a455ef:67662] Read -1, expected 48840, errno = 1
[e278b3a455ef:67662] Read -1, expected 42512, errno = 1
[e278b3a455ef:67662] Read -1, expected 48840, errno = 1
[e278b3a455ef:67662] Read -1, expected 42512, errno = 1
[e278b3a455ef:67662] Read -1, expected 70688, errno = 1
[e278b3a455ef:67662] Read -1, expected 9416, errno = 1
[e278b3a455ef:67662] Read -1, expected 19060, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 16748, errno = 1
[e278b3a455ef:67662] Read -1, expected 20992, errno = 1
[e278b3a455ef:67662] Read -1, expected 16748, errno = 1
[e278b3a455ef:67662] Read -1, expected 20992, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 16748, errno = 1
[e278b3a455ef:67662] Read -1, expected 20992, errno = 1
[e278b3a455ef:67662] Read -1, expected 43276, errno = 1
[e278b3a455ef:67662] Read -1, expected 48288, errno = 1
[e278b3a455ef:67662] Read -1, expected 86552, errno = 1
[e278b3a455ef:67662] Read -1, expected 96576, errno = 1
[e278b3a455ef:67662] Read -1, expected 24868, errno = 1
[e278b3a455ef:67662] Read -1, expected 4908, errno = 1
[e278b3a455ef:67662] Read -1, expected 4528, errno = 1
[e278b3a455ef:67662] Read -1, expected 99472, errno = 1
[e278b3a455ef:67662] Read -1, expected 19632, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5708, errno = 1
[e278b3a455ef:67662] Read -1, expected 10748, errno = 1
[e278b3a455ef:67662] Read -1, expected 11416, errno = 1
[e278b3a455ef:67662] Read -1, expected 21496, errno = 1
[e278b3a455ef:67662] Read -1, expected 9240, errno = 1
[e278b3a455ef:67662] Read -1, expected 36960, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -
[10]:
%%px
v1loc = v1.getSubVector(iset)
for i in range(len(gfu.vec)):
    gfu.vec.FV()[i] = v1loc.getArray()[i]
[stderr:0] [e278b3a455ef:67661] Read -1, expected 30020, errno = 1

[stderr:1] 1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 4520, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 5536, errno = 1
[e278b3a455ef:67662] Read -1, expected 6856, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 33496, errno = 1
[e278b3a455ef:67662] Read -1, expected 41984, errno = 1
[e278b3a455ef:67662] Read -1, expected 20832, errno = 1
[e278b3a455ef:67662] Read -1, expected 60040, errno = 1

[stderr:3] [e278b3a455ef:67664] Read -1, expected 18048, errno = 1

[stderr:2] [e278b3a455ef:67663] Read -1, expected 9024, errno = 1
[e278b3a455ef:67663] Read -1, expected 41664, errno = 1

[11]:
from ngsolve.webgui import Draw
gfu = c[:]["gfu"]
Draw (gfu[0]);
[ ]: