what's wrong with my restart command?

Hello,

I'm trying to write a restart file on timesteps 9999, 19999, and 29999. What am I doing wrong?

variable restartFreq equal stride(9999,29999,10000)
restart v_restartFreq degraded_*.hot.MM1A.restart
ERROR: Illegal restart command (output.cpp:501)

Thank you,

Celia

Are you using the most current version of LAMMPS?
Using a variable in the restart command is a fairly
recent option.

Steve

Somewhat recent - 16 Dec 2011. Is it too old?

yes, that's probably too old.

Steve