Dear Rajesh,
Thanks for your reply. I tried with a temp ID (as follows) but still I get the error message. Do you have any idea of the problem causing this? I’m using LAMMPS 1Feb14 version.
compute new all temp
compute s all stress/atom new
ERROR: Illegal compute stress/atom command (…/compute_stress_atom.cpp:73)
Many thanks,
Hansinee