I write my dump file using the following keywords:
compute Pea all pe/atom
dump 1 all custom 1000 coords-vel-pe.xyz id type x y z vx vy vz c_Pea
Now Let’s say I created 100 configurations in the coords-vel-pe.xyz file, which I now want to minimize and find a new set of 100 configurations with minimum potential energy using the following lines:
variable nconf equal 100
label runloop
variable conf loop 0 dollar{nconf} pad
read_dump …/…/coords-vel-pe.xyz dollar{conf} x y z vx vy vz replace yes box no wrapped yes
minimize 1.0e-10 0 10000 10000
write_dump all xyz coords-IS-dollar{conf}.xyz
next conf
jump in.lammps runloop
I get the following error:
Scanning dump file …
ERROR: Dump file does not contain requested snapshot (…/read_dump.cpp:119)
Last command: read_dump …/…/coords-vel-pe.xyz ${conf} x y z vx vy vz replace yes box no wrapped yes
I am not sure how I should organize my read_dump keywords to successfully read all the snapshots.