Restarting simulation with colvars #657
-
Hi, During my simulations, occasionally what happens is the lipid membrane comes out of the simulation box, hence I have to wrap it and realign it inside the box and restart the simulation. For wrapping and realigning I use the .restart.coor file from the NAMD restart output. And I save the wrapped & realigned molecule as a pdb and restart the simulation by providing velocity using the temperature. But when I restart I get the error "colvars: differs greatly from the value last read from the state file:" The CV value calculated from the state file was -23.04 and the value from the pdb it is -23.15. I am getting an error even though the difference is small. Is there any way work around this? Please let me know (Also, my restart frequencies for .coor.restart and .restart.colvars.state are same) Please let me know if any other information is required, Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@Praveen-2k21 There is indeed an workaround. You can open your .restart.colvars.state by a text editor, and search "-23.04", and it should appear in a
You may see |
Beta Was this translation helpful? Give feedback.
-
@HanatoK is correct. Also, if you use a version more recent than February 2020 (e.g. NAMD 2.14) you can also delete that entire Please reopen if either of these suggestions don't work. |
Beta Was this translation helpful? Give feedback.
@Praveen-2k21
Hi Praveen,
There is indeed an workaround. You can open your .restart.colvars.state by a text editor, and search "-23.04", and it should appear in a
colvar {...}
block similar to:You may see
x -23.04
or something similar with a differenct precision. You can change it tox -23.15
and try NAMD again.