[lammps-users] ERROR: Smallint setting in lmptype.h is not compatible

Dear LAMMPS community,

I have faced with a problem of reading restart files in new version of LAMMPS (2 Feb 2011) which were written and saved in the older version (3 Dec 2010). How can I solve this issue?

Thanks.

Farshad

Dear LAMMPS community,

I have faced with a problem of reading restart files in new version of LAMMPS (2 Feb 2011) which were written and saved in the older version (3 Dec 2010). How can I solve this issue?

there is no backward compatibility for restarts. they are not guaranteed
to be portable across different versions of LAMMPS. if they work, you
get lucky.

you have to either keep using the older version of lammps with the old restarts
or you have to use an old version of restart2data to convert the
restart to a data
file and then continue from there.

axel.

Axel's response is correct, but you will usually be "lucky", since
the restart file format changes quite rarely. Bit it did change
a month ago with the move to support some 64-bit counters
in the code (atoms, timesteps).

Steve