Dear
We have defined some potentials that have different special bonds depending on their type. We end up with the definition
special_bonds lj 0.5 0.5 0.5 coul 0.5 0.5 0.5
pair_modify pair lj/cut special lj 0.0 0.0 0.0
pair_modify pair lj/cut/coul/cut special lj 0.0 0.0 1.0 special coul 0.0 0.0 1.0
This works well for us with Lammps 2021 version. In another cluster though where we use the 2019 version we get the error below:
ERROR: Illegal pair_modify command (src/pair.cpp:187)
Last command: pair_modify pair lj/cut/coul/cut special lj 0.0 0.0 1.0 special coul 0.0 0.0 1.0
The question is, whether this style of pair_modify command is only supported in Lammps 2021 or if it should have worked for us. The latter would mean there is some other error we have not spotted.
Best Regards