Reading multiple dump files by a single rerun

Hi everybody

Does anybody know how to read several dump files, each produced for a timestep, in a single rerun command?

Many thanks in advance

Robert

Could someone please help me with this problem.

Does anybody know how to read several dump files, each produced for a timestep, in a single rerun command?

Many thanks in advance

The rerun command can be executed many times in a loop. Take a look at the manual for variable, label, next and jump.

Giacomo

a simple look at the documentation should answer the question:

rerun file1 file2 ... keyword args ...

no loops or other crazy things needed.

axel.

Thanks, Axel
But I have many files, and it is not viable to insert all files names in a rerun command.

So, do you suggest loop too?

Thanks, Axel
But I have many files, and it is not viable to insert all files names in a
rerun command.

that is a *different* question than what you asked. if you want
accurate help, you have to as precise questions and explain what your
problem is quickly. in fact what you are saying here is pretty much
the opposite of what of what your initial question was about.

a) it *is* viable to insert many files. you just have to automate
generating the line of text with the rerun command and then import it
via the include command. this can be done with shell commands.

b) native LAMMPS dump files can be easily concatenated (e.g. using
"cat") into a single file. you just have to make certain you combine
the files in order of ascending time steps.

So, do you suggest loop too?

no.