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

Xdmf generation (h52xdmf.py) on Windows does not work #15

Open
sanathkeshav opened this issue Aug 26, 2024 · 2 comments
Open

Xdmf generation (h52xdmf.py) on Windows does not work #15

sanathkeshav opened this issue Aug 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sanathkeshav
Copy link
Member

On Windows, the absolute path to the h5 file in the XDMF file causes problems.

also see: nschloe/meshio#302

@sanathkeshav
Copy link
Member Author

Solution suggested in the GitHub issue says to put the h5 file and the xdmf file together and remove the path from the xdmf file.. this solution works but is not a general solution.

Found by @s5409693

@IshaanDesai IshaanDesai changed the title Xdmf generation (h52xdmf.py) on Windows Xdmf generation (h52xdmf.py) on Windows does not work Sep 2, 2024
@IshaanDesai IshaanDesai added the bug Something isn't working label Sep 2, 2024
@strinner213
Copy link

More general solution (if it is not wanted/possible that h5 and xdmf file are in the same directory): Completely avoid absolute paths within the xdmf-file and only use relative paths to h5 files. Seemed to solve the Windows issue for me in an unrelated test at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants