ERROR: Unrecognized pair style 'o' (../force.cpp:262)

dear all,
I’m using lammps7aug19,
I get a restart file with the following command:
write_restart restartfile.quenched.restart

I have 6 atom types and potentials are set as:
pair_style hybrid airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 lj/cut 12.0
pair_coeff * * airebo 1 CH.airebo C NULL NULL NULL NULL NULL
pair_coeff * * airebo 2 CH.airebo NULL C NULL NULL NULL NULL
pair_coeff * * airebo 3 CH.airebo NULL NULL C NULL NULL NULL
pair_coeff * * airebo 4 CH.airebo NULL NULL NULL C NULL NULL
pair_coeff * * airebo 5 CH.airebo NULL NULL NULL NULL C NULL
pair_coeff * * airebo 6 CH.airebo NULL NULL NULL NULL NULL C

pair_coeff 1 26 lj/cut {eps} {sigma}
pair_coeff 2 3
6 lj/cut {eps} {sigma}
pair_coeff 3 46 lj/cut {eps} {sigma}
pair_coeff 4 5
6 lj/cut {eps} {sigma}
pair_coeff 5 6 lj/cut {eps} {sigma}

When I get the restart file and try to read it in another script with the following command:
read_restart restartfile.quenched.restart remap

It ends up with the following error:

ERROR: Unrecognized pair style ‘o’ (…/force.cpp:262)
Last command: read_restart restartfile.quenched.restart remap

I run the same script previously with an older version of lammps but now when I install the new version this error occurs. I wonder what is pair style “o” when I have only airebo and lj.
Thanks a lot,
Regards
M. V.

i cannot reproduce this with just the information you provided. there must be something else that is wrong, or there is some hardware problem.
can you provide a small (just a few atoms) and short (just a few steps) but otherwise complete input deck, that reproduces the error you are seeing?
i am copying below the minimal test based on your info. does this fail for you, too?

axel.

units metal
region box block 0 10 0 10 0 10
create_box 6 box
variable eps equal 0.01
variable sigma equal 3.0
mass * 12.01
pair_style hybrid airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 lj/cut 12.0
pair_coeff * * airebo 1 CH.airebo C NULL NULL NULL NULL NULL
pair_coeff * * airebo 2 CH.airebo NULL C NULL NULL NULL NULL
pair_coeff * * airebo 3 CH.airebo NULL NULL C NULL NULL NULL
pair_coeff * * airebo 4 CH.airebo NULL NULL NULL C NULL NULL
pair_coeff * * airebo 5 CH.airebo NULL NULL NULL NULL C NULL
pair_coeff * * airebo 6 CH.airebo NULL NULL NULL NULL NULL C

pair_coeff 1 26 lj/cut {eps} {sigma}
pair_coeff 2 3
6 lj/cut {eps} {sigma}
pair_coeff 3 46 lj/cut {eps} {sigma}
pair_coeff 4 5
6 lj/cut {eps} {sigma}
pair_coeff 5 6 lj/cut {eps} {sigma}
create_atoms 1 single 1.0 1.0 1.0

run 0 post no

write_restart first.restart

clear
read_restart first.restart

It worked with no erroron my machine, I run the following code with the attached datafile with noerror too:

units metal
boundary s s s
read_data datafile
variable eps equal 0.01
variable sigma equal 3.0
mass * 12.01
pair_style hybrid airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 airebo 3.0 1 1 lj/cut 12.0
pair_coeff * * airebo 1 CH.airebo C NULL NULL NULL NULL NULL
pair_coeff * * airebo 2 CH.airebo NULL C NULL NULL NULL NULL
pair_coeff * * airebo 3 CH.airebo NULL NULL C NULL NULL NULL
pair_coeff * * airebo 4 CH.airebo NULL NULL NULL C NULL NULL
pair_coeff * * airebo 5 CH.airebo NULL NULL NULL NULL C NULL
pair_coeff * * airebo 6 CH.airebo NULL NULL NULL NULL NULL C
pair_coeff 1 26 lj/cut {eps} {sigma}
pair_coeff 2 3
6 lj/cut {eps} {sigma}
pair_coeff 3 46 lj/cut {eps} {sigma}
pair_coeff 4 5
6 lj/cut {eps} {sigma}
pair_coeff 5 6 lj/cut {eps} {sigma}
fix nvt all nvt temp 300.0 300.0 0.1 mtk yes
run 100
unfix nvt
fix nve all nve
run 100
minimize 0 1.0e-3 1000 1000
run 0
write_restart first.restart
clear
read_restart first.restart

But I run the script on an HPC and get the restart file to use it for post-processing on my computer(calculating force constants).
when I run the upper code on that HPC and download the first.restart file again following error comes: lammps-11Aug17 is installed on that HPC

restoring pair style hybrid from restart
ERROR: Unrecognized pair style ‘’ (…/force.cpp:262)
Last command: read_restart first.restart remap

datafile (8.81 KB)

restart files are not guaranteed to be portable between different LAMMPS versions. particularly, if you try to read a restart file written by a newer version with an older version, there can be problems.

axel.