units lj atom_style atomic region total block -1 1 -1 1 -1 1 create_box 1 total mass 1 1.0 pair_style lj/cut 1.0 pair_coeff * * 0 0 variable step equal step variable seed equal ${SEED} variable rand equal "random(0.0,1.0, v_seed)" fix print all print 1 "${step} ${rand}" file rand.${SEED}.dat screen no run 100