<div dir="ltr">Hi all,<div><br></div><div>I tried to use petsc_gen_xdmf.py to generate a xml file for visulaztion using paraview. I got the following errors:</div><div><br></div><div><div>./petsc_gen_xdmf.py sol.h5 </div><div>Traceback (most recent call last):</div><div>  File "./petsc_gen_xdmf.py", line 236, in <module></div><div>    generateXdmf(sys.argv[1])</div><div>  File "./petsc_gen_xdmf.py", line 231, in generateXdmf</div><div>    Xdmf(xdmfFilename).write(hdfFilename, topoPath, numCells, numCorners, cellDim, geomPath, numVertices, spaceDim, time, vfields, cfields)</div><div>  File "./petsc_gen_xdmf.py", line 190, in write</div><div>    for vf in vfields: self.writeField(fp, len(time), t, cellDim, spaceDim, '/vertex_fields/'+vf[0], vf, 'Node')</div><div>  File "./petsc_gen_xdmf.py", line 164, in writeField</div><div>    self.writeFieldComponents(fp, numSteps, timestep, spaceDim, name, f, domain)</div><div>  File "./petsc_gen_xdmf.py", line 120, in writeFieldComponents</div><div>    dims   = '1 %d 1' % (numSteps, dof, bs)</div><div>TypeError: not all arguments converted during string formatting</div></div><div><br></div><div><br></div><div>The hdf5 file is attached. Originally from Matthew. Configuration and make log files are also attached.</div><div><br></div><div>Fande Kong,</div><div><br></div><div>Thanks,</div></div>