The software version I’m using is LAMMPS (16 Mar 2018).My program is running with an error
illegal compute displace/atom command
why does this happen? How should I change it?

somebody help me (5.4 KB)


This error happens when the command is used incorrectly. This also applies if you are using a feature that is not available in the LAMMPS version you are using.

You have already been instructed how to obtain a manual that matches your version, so you can sort this out by yourself.

Your input is too complex and convoluted to debug it from remote.

My advice is to update to a current version of LAMMPS and if the error persists to then construct a minimal input file to reproduce it and post it.

Thank you for your answer.