Page 1 of 1 and

Posted: Thu Nov 14, 2019 7:15 am
by ibrahim
Dear All,

Recently I found something strange related to and .pl, the two scripts provide different results for forces, attached is the OUTCAR(1). What happened in that case and which one should I use? With the same vasp version but different installation everything is OK (OUTCAR(2)).

Moreover, when I use newer vasp version (5.4.4), I didn't find "FORCES: max atom, RMS" written in OUTCAR, why?

Many thanks in advance,

Re: and

Posted: Thu Nov 14, 2019 4:43 pm
by graeme
The newer version of vasp was not built with our vtstcode, which is why that force information is not printed. You can grep the OUTCAR for VTST to check if that code was compiled with your version of vasp.

The difference between and is subtle. The script is fine. The script uses methods in ASE. The issue is that ASE reads any constraints (e.g. frozen atoms) from the POSCAR or CONTCAR file and then applies those constraints to the forces (zeros those components) in the OUTCAR file. If you include a POSCAR or CONTCAR file in the directory with your OUTCAR file, the forces from the two scripts should be the same.

Re: and

Posted: Fri Nov 15, 2019 12:56 am
by ibrahim
Thanks Prof. Graeme.