ERROR: Invalid flag in type arrays section of restart file

Dear Lammps users,

I need to convert the binary restart files from LAMMPs simulations to data
files that can be used for the next round of simulations.
The restart2data.cpp file that comes with lammps is supposed to do this.
When I run it on my restart files, I get this error:

ERROR: Invalid flag in type arrays section of restart file 15

(I have 14 atom types in the initial simulations if this is relevant)

Any help on how to fix this would be greatly appreciated.

Daniel

Dear Lammps users,

I need to convert the binary restart files from LAMMPs simulations to data
files that can be used for the next round of simulations.
The restart2data.cpp file that comes with lammps is supposed to do this.
When I run it on my restart files, I get this error:

ERROR: Invalid flag in type arrays section of restart file 15

(I have 14 atom types in the initial simulations if this is relevant)

Any help on how to fix this would be greatly appreciated.

that sounds like you want to read a restart that is not compatible
with the version of restart2data that you use. there can be multiple
reasons for that, but it is very difficult to say which.

axel.