Plotting the magnetic moments with py4vasp

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
alexander_duong
Newbie
Newbie
Posts: 11
Joined: Fri Nov 03, 2023 12:09 pm

Plotting the magnetic moments with py4vasp

#1 Post by alexander_duong » Tue Mar 26, 2024 6:15 pm

Hello,

So I have done a run with ISPIN = 2, the MAGMOM tag, and LORBIT = 11, and at the end of the output in OUTCAR, there is a table ("magnetization (x)") of the magnetic moments of each ion. However, when I try to visualize the magnetic moments using py4vasp with mycalc.magnetism.plot(), it returns a NoData error. Why is that?

Thanks!

martin.schlipf
Global Moderator
Global Moderator
Posts: 495
Joined: Fri Nov 08, 2019 7:18 am

Re: Plotting the magnetic moments with py4vasp

#2 Post by martin.schlipf » Wed Mar 27, 2024 8:08 am

Can you attach the vaspout.h5 file, so I can inspect what is going on?

alexander_duong
Newbie
Newbie
Posts: 11
Joined: Fri Nov 03, 2023 12:09 pm

Re: Plotting the magnetic moments with py4vasp

#3 Post by alexander_duong » Fri Mar 29, 2024 2:25 am

I just checked and my vaspout.h5 file is very large (~27 MB). When I compress it, it is still >20 MB. Is there another way for me to share it (since the maximum attachment size is only 8 MB)? Or, is there a way for me to further compress it?

martin.schlipf
Global Moderator
Global Moderator
Posts: 495
Joined: Fri Nov 08, 2019 7:18 am

Re: Plotting the magnetic moments with py4vasp

#4 Post by martin.schlipf » Fri Mar 29, 2024 7:45 am

Can you try to reproduce the problem with a smaller system? If you take fcc Ni; do you also not see magnetic moments?

alexander_duong
Newbie
Newbie
Posts: 11
Joined: Fri Nov 03, 2023 12:09 pm

Re: Plotting the magnetic moments with py4vasp

#5 Post by alexander_duong » Sat Mar 30, 2024 4:39 am

I will try to do that when I am able to. In the meantime, would you like me to provide the input files that I used?

martin.schlipf
Global Moderator
Global Moderator
Posts: 495
Joined: Fri Nov 08, 2019 7:18 am

Re: Plotting the magnetic moments with py4vasp

#6 Post by martin.schlipf » Tue Apr 02, 2024 7:06 am

How expensive is it to run the calculation? If you need to run the calculation on a HPC machine then I will not be able to reproduce it locally. When the calculation is quick to run, I can reproduce the data here. But the test of fcc Ni is very helpful for me because that can tell me whether the likely issue is a problem with the installation or a bug in the code.

Post Reply