writing restart files

Hi,

I want to know how to write a restart file in some interval of iterations,
in my input script for each iteration, i use deform and minimize commands,
i tried using :
restart 1000 file.restart
but this command writes restart file, every 1000 minimization steps in
each iteration, but i want to write restart files only after 100
iterations to save memory, i run for 10^7 iterations. Thanks.

Regards,
Vinutha

Hi,

I want to know how to write a restart file in some interval of iterations,
in my input script for each iteration, i use deform and minimize commands,
i tried using :
restart 1000 file.restart
but this command writes restart file, every 1000 minimization steps in
each iteration, but i want to write restart files only after 100
iterations to save memory, i run for 10^7 iterations. Thanks.

there is little reason to write restarts *during* the minimization, so
it should be sufficient to use the write_restart command *after* and
that can be easily skipped for specific loops, if desired.

axel.