GROMACS version: 2020.2
GROMACS modification: No
Here post your question
Hi,
I’m trying to restart my simulation using a check point file with modified mdp options, and when I run the following command (command from the User guide):
Error in user input:
Invalid command-line options
In command-line option -c
File name ‘md_0_60.cpt’ cannot be used for this option.
Only the following extensions are possible:
.gro, .g96, .pdb, .brk, .ent, .esp, .tpr
In the command template, .cpt file is required for the option -c, so I’m not sure why I’m getting this error. All the files (md.mdp, topol.top and md_0_60.cpt) are in the working directory.
Thank you for your help in advance.
if you want to change more option, you can use gmx grompp and -c last frame (of previous simulation) as input. If you want you use both positions and velocities of the last frame, put gen_vel= no as option in mdp file
Best regards
Alessandra
Thank you for your reply.
For the restart, I want to run the simulation with the smaller time step (originally 2fs, but I want to change it to 1fs), so I followed what the GROMACS 2020.2 User guide (Managing long simulations — GROMACS 2020.2 documentation) said as follows:
“”"""
If you wish to make changes to your simulations settings other than length, then you should do so in the mdp file or topology, and then call
to instruct [gmx grompp] to copy the full-precision coordinates in the checkpoint file into the new [tpr] file.
“”"""
However, cpt extension cannot be used with the option -c:
You suggested to use “-c last frame” instead. Does this mean to get the last frame as .gro or .pdb file?
I saw in the User guide you shared me that -t extension actually takes .cpt file. Since the error I got only said " In command-line option -c. File name ‘md_0_60.cpt’ cannot be used for this option.", would it be possible to use option -t and use .cpt file?