Press/berendsen barostat

Dear sir,

fix 1 all press/berendsen iso 0.0 0.0 1000.0

when I use this command I got this error
Illegal fix press/berendsen command

You should check the documentation that corresponds with your version of LAMMPS, it upgrade to the latest version. The call signature may have changed.

Or, you might have a non-ASCII character that LAMMPS can’t interpret.

Or, there’s something else going on in your input script that you haven’t shown us.

Thanks, Sir