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

Empty element variable field in Exodus files produced by Norma #28

Open
ikalash opened this issue Nov 26, 2024 · 4 comments
Open

Empty element variable field in Exodus files produced by Norma #28

ikalash opened this issue Nov 26, 2024 · 4 comments

Comments

@ikalash
Copy link
Collaborator

ikalash commented Nov 26, 2024

It looks like there is an empty element variable field produced by Norma. You can see it for example in the examples/overlap/static-different-steps output .e file. If you ncdump one of them and search for name_elem_var then go all the way to the end, the output looks like:

 "stress_yz_8",
  "stress_xz_8",
  "stored_energy",
  "" ;

I don't think this is a Julia Exodus thing, but I could be wrong. It's not really a huge deal except when you try to exodiff files, exodiff doesn't like the empty string in the file.

@lxmota
Copy link
Collaborator

lxmota commented Nov 26, 2024

I don't see where that empty string might be written to the Exodus file. Weird. Need to look more closely.

@ikalash
Copy link
Collaborator Author

ikalash commented Nov 26, 2024

Does it happen on MacOS? I guess if it doesn't it COULD be an issue with the Exodus for Julia 11 being broken.

@lxmota
Copy link
Collaborator

lxmota commented Nov 26, 2024

Yes, I see it on the Mac too with Julia 1.10. Odd.

@ikalash
Copy link
Collaborator Author

ikalash commented Nov 26, 2024

I agree that it's odd. I looked in time_integration.jl and am not seeing any spurious write_name() calls. All the existing ones pass an appropriate string. Very strange.

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

No branches or pull requests

2 participants