read_dump field error(atom IDs in)

Hello

I tried to use rerun command, but the read_dump problem came to me.

The lammps version here is 1 feb 2014.

I used 1000 H2O molecules in a box as a test. Here is my dump command:

dump 1 all custom 1000 dump.charlie id type x y z
run 5000
read_dump dump.charlie 1000 x y z

I also tried atom format:

dump 1 all atom 1000 dump.atom
dump_modify 1 scale no
dump_modify 1 sort 1

run 5000
read_dump dump.atom 1000 x y z

They all gave

ERROR on proc 0: Read_dump field not found in dump file (…/read_dump.cpp:371)
ERROR on proc 1: Read_dump field not found in dump file (…/read_dump.cpp:371)
ERROR on proc 2: Read_dump field not found in dump file (…/read_dump.cpp:371)
ERROR on proc 3: Read_dump field not found in dump file (…/read_dump.cpp:371)
ERROR on proc 4: Read_dump field not found in dump file (…/read_dump.cpp:371)
ERROR on proc 5: Read_dump field not found in dump file (…/read_dump.cpp:371)

I found someone got the same problem in the mail list ,but I did have atom IDs in the dump file.

Thanks,
Dai Haiwei
Nanjing Technology University

Please post the header of one of the snapshots from the dump.charlie file.

It is likely some other field, besides “id” that you are missing.

Steve