-
Notifications
You must be signed in to change notification settings - Fork 134
Description
Hi there!
When using a (HSE)BandStructureMaker I noticed that the NSCF calculations (bands and dos) does not have the MAGMOM in the INCAR and I get the following warning in the OUTCAR:
| You use a magnetic or noncollinear calculation, but did not specify
| the initial magnetic moment with the MAGMOM tag. Note that a
| default of 1 will be used for all atoms. This ferromagnetic setup
| may break the symmetry of the crystal, in particular it may rule
| out finding an antiferromagnetic solution. Thence, we recommend
| setting the initial magnetic moment manually or verifying carefully
| that this magnetic setup is desired.
And results, i.e. the DOS, are quite different between the cases with and without keeping the MAGMOM.
Now, looking at the VASP wiki https://www.vasp.at/wiki/MAGMOM I see the following:
"When restarting a magnetic calculation, MAGMOM is only used to determine the symmetry of the system and not to set the on-site magnetic moment. Therefore, if you remove the MAGMOM tag before restarting from a converged WAVECAR or CHGCAR, the magnetization is likely to be symmetrized away."
So, I suppose that MAGMOM should remain in the INCAR of a NSCF calculations from the previous static one.
I think the lines that remove the MAGMOM are
atomate2/src/atomate2/vasp/sets/core.py
Line 262 in 6b19e55
| updates["MAGMOM"] = None |
atomate2/src/atomate2/vasp/sets/core.py
Line 523 in 6b19e55
| updates["MAGMOM"] = None |
What seems odd is that those lines seem to be added a long time ago and nobody complained.
Could this warning be added in recent versions of VASP? I'm using the 6.4.2.
Let me know what you think.
Thanks!