You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some rare cases, if one starts with e.g. an antiferromagnetic configuration, and after the first cycle ends up in a different spin configuration, the current the relabelling would fail. It is possible to fix it, but then we raise the question whether to continue on with the calculation, or stop it and report an exit code that the magnetic configuration is probably different from the starting one.
Example:
Iteration: start with e.g. Fe0 and Fe1, having starting magnetization +1 and -1 respectively
Iteration: the scf leads to Fe0 and Fe1 having 0 magnetic moments --> hp will set the label spin to 0, and this will make the relabelling to crash.
How to fix:
Simply catch the excpetion, either within the relabelling (maybe better?) or the self-consistent cycle.
The text was updated successfully, but these errors were encountered:
Fixes#66
The relabel function might not work if the spin configuration
changes and the kinds cannot be determined uniquely by
the parsed configuration from the hp.x post-processing.
For this reason, we catch the error and exit smoothly with
a new exit code if this would happen.
In some rare cases, if one starts with e.g. an antiferromagnetic configuration, and after the first cycle ends up in a different spin configuration, the current the relabelling would fail. It is possible to fix it, but then we raise the question whether to continue on with the calculation, or stop it and report an exit code that the magnetic configuration is probably different from the starting one.
Example:
spin
to 0, and this will make the relabelling to crash.How to fix:
The text was updated successfully, but these errors were encountered: