GROMACS version: 2024
Dear Gromacs Users:
When I run gmx msd
I face this error. I can not understand what it says.
Program: gmx msd, version 2024.3
Source file: src/gromacs/trajectoryanalysis/modules/msd.cpp (line 683)
Function: virtual void gmx::analysismodules::Msd::analyzeFrame(int, const t_trxframe&, t_pbc*, gmx::TrajectoryAnalysisModuleData*)
Inconsistency in user input:
-trestart (default 10 ps) must be divisible by -dt for useful results.
For more information and tips for troubleshooting, please check the GROMACS
website at https://manual.gromacs.org/current/user-guide/run-time-errors.html
Could you please help me with that? I think this is just for the 2024 version because I did not face this error in previous versions.
Dear MagnusL,
Thanks for your reply. This a part of is my .mdp file.
; Run parameters
integrator = md ; leap-frog integrator
nsteps = 60000000
dt = 0.0005
; Output control
nstxout = 5000 ; save coordinates every - ps
nstvout = 5000 ; save velocities every - ps
nstenergy = 5000 ; save energies every - ps
nstlog = 5000 ; update log file every - ps
Actually, I don’t know how to specify -dt. I know it should be in gmx msd command but I don’t know how to specify the number.
At a closer thought, it should not be that bug. Sorry. I’ll see if I can understand what’s the problem.
Thank you very much.
For this .mdp file :
; Run parameters
integrator = md
nsteps = 60000000
dt = 0.001
; Output control
nstxout = 20000
nstvout = 20000
nstenergy = 20000
nstlog = 20000
I used this command:
gmx msd -f nvt5.xtc -s nvt5.tpr -o msd.xvg -trestart 20
And, It is worked. But, I have no reason for the selection of -trestart 20
. :-))
In the last case it worked because -trestart
must be divisible by -dt
(or the time between frames. In that case you write every 20 ps, so -trestart
cannot be < 20.