Hi, All
With the recent version(Jan 09 ), an error was hit while I tried to output stresses. I tried input file as a copy from the manual.
compute peratom all stress/atom
compute p all reduce sum c_peratom[1] c_peratom[2] c_peratom[3]
variable press equal -(c_p[1]+c_p[2]+c_p[3])/(3*vol)
thermo_style custom step temp etotal press v_press
The error message was “Per-atom virial was not tallied on needed timestep”. However, if v_press was removed from the thermo_style command, the error was gone. This problem did not exist in the last version. Does anyone have any ideas about this? Thanks.
yao