Illegal pair_style command Error

Dear LAMMPS users,

I’m a beginner level user of the LAMMPS software. I’m trying to run a LAMMPS simulation for a graphene sheet inside a water droplet. In the log file I’m getting following error:

air_style hybrid airebo 2.5 1 1 lj/cut/coul/long/tip4p 2 3 1 1 0.125 9 8
ERROR: Illegal pair_style command (…/pair_airebo.cpp:150)

All I know about this script is, it was working fine 3 -4 years ago in the older version of LAMMPS so I think it’s the problem with in the command formatting of the latest version that is different from older version. Can anybody give me the hint and link to the relative docs webpage to learn more about it.

Thanks a lot for your time, and efforts.

Dear LAMMPS users,

I’m a beginner level user of the LAMMPS software. I’m trying to run a LAMMPS
simulation for a graphene sheet inside a water droplet. In the log file I’m
getting following error:

air_style hybrid airebo 2.5 1 1 lj/cut/coul/long/tip4p 2 3 1 1
0.125 9 8
ERROR: Illegal pair_style command (../pair_airebo.cpp:150)

All I know about this script is, it was working fine 3 -4 years ago in the
older version of LAMMPS so I think it’s the problem with in the command
formatting of the latest version that is different from older version. Can

no, it isn't.

anybody give me the hint and link to the relative docs webpage to learn more
about it.

pair style lj/cut/coul/long/tip4p was renamed to lj/cut/coul/tip4p

axel

Hi Axel,

Thank you for a prompt and informative reply. I did re-run of the new script after changing it as per your instructions, it’s still showing the same error as below:

pair_style hybrid airebo 2.5 1 1 lj/cut/coul/tip4p 2 3 1 1 0.125 9 8
ERROR: Illegal pair_style command (…/pair_airebo.cpp:150)

Any further insights into it, will be much appreciated.
Thanks a lot.

Hi Axel,

Thank you for a prompt and informative reply. I did re-run of the new script
after changing it as per your instructions, it’s still showing the same
error as below:

pair_style hybrid airebo 2.5 1 1 lj/cut/coul/tip4p 2 3 1 1 0.125 9
8
ERROR: Illegal pair_style command (../pair_airebo.cpp:150)

Any further insights into it, will be much appreciated.

so is lj/cut/coul/tip4p actually installed?

run your LAMMPS executable with the -h flag and check. then read the manual.

axel.