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

How to get the output magnetic moment of a static vasp calculation? #1060

Closed
jyang2009 opened this issue May 25, 2023 · 3 comments
Closed

How to get the output magnetic moment of a static vasp calculation? #1060

jyang2009 opened this issue May 25, 2023 · 3 comments
Labels
question Further information is requested

Comments

@jyang2009
Copy link
Contributor

Dear all,

I would like to check the output magnetic moment of a static vasp calculation in pyiron. I've tried two methods:

  1. job.get_magnetic_moments() doesn't return anything
  2. job['output/structure/spins'] gives the values as set in MAGMOM, not the output values.

Does anyone know how to do this? Thanks in advance.

Best,
Jing

@jyang2009 jyang2009 added the question Further information is requested label May 25, 2023
@samwaseda
Copy link
Member

I took a look at it and indeed it doesn't seem to be available. I'll try to take care of it.

@samwaseda
Copy link
Member

I started looking into it, but I don't really understand where to find the magnetic moments in VASP output files. Maybe @ligerzero-ai ? Or maybe there's something like a pymatgen parser??

@jyang2009
Copy link
Contributor Author

Hi Sam,

Thanks a lot for looking into this. I've figured it out.
It appears that vasp only print out magnetic moments for individual atoms when LORBIT = 11 is specified. Then both methods work for reading the output.

Best,
Jing

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

No branches or pull requests

2 participants