Page 1 of 1

Plotting the magnetic moments with py4vasp

Posted: Tue Mar 26, 2024 6:15 pm
by alexander_duong
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!

Re: Plotting the magnetic moments with py4vasp

Posted: Wed Mar 27, 2024 8:08 am
by martin.schlipf
Can you attach the vaspout.h5 file, so I can inspect what is going on?

Re: Plotting the magnetic moments with py4vasp

Posted: Fri Mar 29, 2024 2:25 am
by alexander_duong
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?

Re: Plotting the magnetic moments with py4vasp

Posted: Fri Mar 29, 2024 7:45 am
by martin.schlipf
Can you try to reproduce the problem with a smaller system? If you take fcc Ni; do you also not see magnetic moments?

Re: Plotting the magnetic moments with py4vasp

Posted: Sat Mar 30, 2024 4:39 am
by alexander_duong
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?

Re: Plotting the magnetic moments with py4vasp

Posted: Tue Apr 02, 2024 7:06 am
by martin.schlipf
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.