Illegal stress/atom command

Dear Lammps users,

I got an error message for using stress/atom command as follows.

compute s all stress/atom NULL

ERROR: Illegal compute stress/atom command (…/compute_stress_atom.cpp:73)

I am using the 1Feb2014 version of LAMMPS. I could not figure out the problem here. If anyone can help me it’s highly appreciated.

Many thanks,
Hansinee

Hi Hansinee

You can try this comand
compute s all stress/atom

Dear Shuaiwei,

Thanks for your reply. I used the command without temp ID as you mentioned, but still I got the same error message.

Regards,
Hansinee

Dear Lammps users,

I got an error message for using stress/atom command as follows.

compute s all stress/atom NULL

ERROR: Illegal compute stress/atom command (../compute_stress_atom.cpp:73)

I am using the 1Feb2014 version of LAMMPS. I could not figure out the
problem here. If anyone can help me it’s highly appreciated.

update your LAMMPS version. 1 Feb 2014 is quite old and you are
obviously not even consulting the documentation that matches that old
version. the online docs always represent the very latest version of
LAMMPS and syntax of individual commands changes occasionally.

axel.

Dear Axel,

Thanks for your reply. I will update my lammps version.
However, I have previously used this command without any problem. So I could not understand what causes the error.

Best Regards,
Hansinee

See the doc pages in the doc dir of the version you have. They

should be consistent with those source files.

Steve

Dear Axel,

Thanks for your reply. I will update my lammps version.
However, I have previously used this command without any problem. So I could not understand what causes the error.

a common source for "unexplained" errors are non-ASCII characters,
e.g. when copying lines from a web browser or PDF viewer, as they tend
to replace ASCII characters with non-ASCII counterparts for improved
kerning (i.e. making text more readable through adjusting spaces
between characters and words or replacing symbols).

axel.