Hi
I am planning to run a longer simulation (> 2**31) for a very tiny 2D system with lj interactions.
Here is the snippet from the input file:
<BASH>
MDsteps=900000000
dt=0.005
<PATH> -in in.KALJ_nvt_Nose -var fname $filename -var tempval $temp -var runleng $MDsteps -var tstep $dt
<in.KALJ_nvt_Nose>
log data_${fname}
#log none
units lj
dimension 2
atom_style atomic
pair_style lj/cut 2.50 # Define interaction potential.
read_data ${fname} # initconf_T05eq.data # read data file (incl.mass info)
*pair_coeff and mass details*
fix 1 all enforce2d
change_box all triclinic
neighbor 0.3 bin
neigh_modify every 1 delay 0 check yes # Update neighbor
timestep ${tstep} #0.005
#prints only if also some MD step run command follows
compute msd all msd com yes
variable vstep equal step*dt
variable vpe equal pe
variable vpress equal press
variable vtemp equal temp
variable vke equal ke
variable vmsd equal c_msd[4]
thermo_style custom step pe press temp ke c_msd[4]
#fix 1 all nvt temp 10.00 10.00 $(100.0*dt)
variable s equal logfreq(1,1,2)
restart v_s logscale-${fname}-*.restart
restart 500000 linearscale0-${fname}.restart linearscale1-${fname}.restart
fix data all print v_s " ${vstep} ${vpe} ${vpress} ${vtemp} ${vke} ${vmsd}" append thermo_data-logscale-${fname}.txt
fix data1 all print 500000 " ${vstep} ${vpe} ${vpress} ${vtemp} ${vke} ${vmsd}" append thermo_data-linscale-${fname}.txt
#set numerical integrator
fix nose all nvt temp ${tempval} ${tempval} $(100.0*dt)
run ${runleng}
run ${runleng}
run ${runleng}
run ${runleng}
run ${runleng}
....
During my run, the simulation stops after the MD_step : 536870912
And the thermo data is written till time (=MD_step*dt): 5367500. Can the run crashed in between 5367500 - 5368000.
The error if the following:
ERROR: Fix print timestep variable returned a bad timestep (…/fix_print.cpp:177)
Last command: run ${runleng}
I don’t understand the reason, I am running the simulation with length < 2**31 with multiple runs too. ANd feedback would be greatly helpful.
Regards,
Anshul