I am going to compute the component “y” of pairwise distance in a system. I have used compute pair/local and append "dy "as the value, as it is mentioned in the document. However, I get Illegal compute pair/local command. I have even tested it for a two-particle problem and the error still is there.
Could you guide me on what the problem is?
If you check the local documentation included with your LAMMPS installation, you will see that there is no “dx”, “dy”, or “dz” option documented. Please note that the online documentation always corresponds to the current (stable or development) version.
If you upgrade to the 23 June 2022 stable version, your input will not produce this error (but a different one because your dump command is not correct).