[lammps-users] thermo_style custom xlat ylat zlat


I am trying to use the “thermo_style custom xlat ylat zlat” command to find the lattice spacings at each timestep. I am getting an error;
ERROR: Invalid keyword in thermo_style custom command

The script works without the “xlat ylat zlat” entries. The other quantities monitored are;

thermo_style custom step temp ke etotal vol press enthalpy

I am using a custom lattice with a1 a2 a3 & basis.

Could you let me know the reason for this error or if there are any changes to the syntax to find the lattice spacings.


Your command works for me. Are you using the most current
version of the code? I assume you actually have a lattice
defined in your input script?