Skip to content

BUG: MAGMOM removal in (HSE)BandStructureMaker #1377

@fraricci

Description

@fraricci

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

updates["MAGMOM"] = None

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions