Spin-orbit coupling in VASP.4.6.31

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
vasp
Newbie
Newbie
Posts: 29
Joined: Mon Jun 19, 2006 7:03 am
License Nr.: 853
Location: FAMU

Spin-orbit coupling in VASP.4.6.31

#1 Post by vasp » Mon Feb 26, 2007 10:04 am

I would like to include spin-orbit coupling in my calculations and I put LSORBIT= .TRUE. in the INCAR file. However, the program stops with the message 'ERROR: non collinear calculations require that VASP is compiled
without the flag -DNGXhalf and -DNGZhalf'. ' If I remove these flags and recompile, I find the same error message. Can someone advise me ? Thanks in advance !

Best regards,
Marko
Last edited by vasp on Mon Feb 26, 2007 10:04 am, edited 1 time in total.

vasp
Newbie
Newbie
Posts: 29
Joined: Mon Jun 19, 2006 7:03 am
License Nr.: 853
Location: FAMU

Spin-orbit coupling in VASP.4.6.31

#2 Post by vasp » Mon Feb 26, 2007 2:41 pm

I realize that I should have used command 'make clean' before recompilation. Anyway, this forum seems to be very nice!

Marko
Last edited by vasp on Mon Feb 26, 2007 2:41 pm, edited 1 time in total.

venkatarohit_punyapu
Newbie
Newbie
Posts: 3
Joined: Fri Jan 15, 2021 5:38 pm

Re: Spin-orbit coupling in VASP.4.6.31

#3 Post by venkatarohit_punyapu » Fri Sep 24, 2021 10:01 pm

Hi, I have the same issue. How did you manage to delete the flags?

andreas.singraber
Global Moderator
Global Moderator
Posts: 231
Joined: Mon Apr 26, 2021 7:40 am

Re: Spin-orbit coupling in VASP.4.6.31

#4 Post by andreas.singraber » Thu Sep 30, 2021 9:17 am

Hi!

Please note that this thread is ~14 years old, the original poster will most likely not reply. Which version of VASP are you actually using? In newer versions (starting somewhere from 5.2 to 5.4) it is not necessary to set any of the flags -DwNGZhalf, -DNGZhalf, -DwNGXhalf or -DNGXhalf manually, they will be set automatically by the makefile when building the targets std, gam, or ncl. Also

Code: Select all

make clean
has been replaced by

Code: Select all

make veryclean
which completely removes the build directories and will provide the best way to start building from scratch.

Best,

Andreas Singraber

Post Reply