dear users

how to solve ' invalid thermo keyword in variable formula' error? the
manual says that ' the keyword is not recognized' but i dont know
mean's that and how to solve this.

It means that in your thermo command, you asked LAMMPS to print a quantity that it doesn't recognise.

If you want any more help than that, you need to provide the input script.