Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataOut::write_vtu_in_parallel: missing closing xml elements #13877

Closed
tamiko opened this issue May 31, 2022 · 1 comment · Fixed by #13880
Closed

DataOut::write_vtu_in_parallel: missing closing xml elements #13877

tamiko opened this issue May 31, 2022 · 1 comment · Fixed by #13880

Comments

@tamiko
Copy link
Member

tamiko commented May 31, 2022

I am not sure why this happens but I encounter missing closing xml elements in the generated vtu files with DataOut::write_vtu_in_parallel:

(‼) maier@whistler scratch/20220522-cylinder % tail -3 cylinder-38M-solution_000006.vtu
 </Piece>
 </UnstructuredGrid>
</VTKFile>
(‼) maier@whistler scratch/20220522-cylinder % tail -3 cylinder-38M-solution_000007.vtu
    </DataArray>
  </PointData>
 </Piece>
(‼) maier@whistler scratch/20220522-cylinder % ls -la cylinder-38M-solution_00000[67].vtu
-rw-r--r-- 1 maier maier 2144574330 May 24 13:09 cylinder-38M-solution_000006.vtu
-rw-r--r-- 1 maier maier 2235272634 May 24 13:15 cylinder-38M-solution_000007.vtu

This might be related to the size of the file - I am not sure.

Manually adding the missing closing elements fixes the files. I have tested reading the files with ParaView version 5.9 and 5.10

@tamiko tamiko added the Bug label May 31, 2022
@tamiko tamiko added this to the Release 9.4 milestone May 31, 2022
@tjhei
Copy link
Member

tjhei commented May 31, 2022

On it!

I have an idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants