Running LAMMPSERROR: Invalid fix ave/time argument

Dear answerer, hello. I encountered the following problem while running LAMMPS. Could you please help me solve it? Thank you!
The version of LAMMPS is the 2023 edition.
The input file is as follows:


The running error prompt is as follows:
Uploading: {E99920FE-C1A8-428C-811D-25E2ADD15C96}.png…
Uploading: {D4C81835-3F22-4187-99AB-CACCF1B7A4B5}.png…

May I ask how to solve it?

Where did you define a compute command whose ID is “myStress”? Maybe you wanted to write c_1[*] in the ave/time command instead?

1 Like

Thank you very much for your reply. Because I modified the question and re - uploaded the picture, and due to network issues, I’m not sure if you saw the complete question when answering my question. However, the problem has been solved. It was my carelessness. Thank you again for your reply and wish you a happy life.