Writing out restart files at two frequencies

Is there a way to do something like the following?

  1. restart 1000 restart1 restart2

and

at every 100000, do

  1. write_restart checkpoint.*

I’d like to save checkpoints for short-term and long-term.

Thanks,

Cy

Is there a way to do something like the following?

1) restart 1000 restart1 restart2

and

at every 100000, do

2) write_restart checkpoint.*

I'd like to save checkpoints for short-term and long-term.

you could just do your MD in a loop.
and do a run 100000 for each iteration.
you might be able to use a shortcut
notation for that using the "every"
keyword of the run command.

axel.

Will post a patch to allow this, later today. Also
now has the option to use variables to specify
the timesteps when restart files are written.

Steve

That sounds great! Thanks!

Cy.