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

Fix unitcell-average monitor #201

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Conversation

drjbarker
Copy link
Member

The unitcell-average monitor was segfaulting. This was due to the file paths being written to the root of the file system '/' because if there is no output path specified, then there is no prefix. I've fixed this by setting '.' as a default path.

There was also a bug where the magnetisation file reference in the xdmf output was incorrect.

If no output path is given on the command line, then some outputs are written with a leading "/" which is to the root file system which is not writable.

We now using "." as the default path
The magnetisation data reference in the xdmf has the the file extension missing. This breaks the use of the xdmf in paraview.
@drjbarker drjbarker merged commit cfb469d into master Jul 3, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant