do minimization and dump something every N steps (liu cheng)

Maybe you need a loop

label forloop
variable i loop 100
minimize…
run…
jump inscript forloop

There is a forloop example at http://lammps.sandia.gov/doc/jump.html.

Cun Zhang