I am using ‘rerun’ command for RDF computation at longer cutoff distance. My purpose is to output a file ‘ave_Rerun.rdf’ containing RDF data at timesteps 0, 50, 100 and 150. So I used the command ‘rerun Dump.atom first 0 every 50 last 150 dump x y z box yes scaled yes’.
The problem is no data was output into the file except for the header. If I change the ‘last’ keyword in the rerun command to 250 (equal to the simulation time in the initial run), there will be data output, but only for RDF at 250 timestep. So basically the file is empty for any ‘last’ value other than 250. Why is it happening?
The input script is attached. For simplicity, the setup and ‘run’ part is taken from the Example ‘melt’, only the ‘rerun’ part is written by me.
Suggestions and comments are welcomed. Thanks very much!