GROMACS version: 2022.3
GROMACS modification: No
Here post your question
First, I can see ALL positions, velocties and forces via:
gmx dump -f md_short1.trr (positions, velocities, forces) organized in blocks
This says about the correctness of the simulation, as I have enable all nstxout, nstvout, nstfout, nstenergy in the mdp file before grompp and mdrun.
When I try to pipe the information via:
gmx trajectory -f md_short1.trr -s md_short1.tpr -ox
I can get a file called coord.xvg with positions
The problem comes when I try to pipe information about velocities (-ov) and forces (-of), then gmx trajectory generates a file that has only xmgrace header and nothing else.
Note that:
gmx check -f md_short1.trr shows correctness of trajectory file,
Checking file md_short1.trr
trr version: GMX_trn_file (single precision)
Reading frame 0 time 0.000
!# Atoms 21649
Last frame 10 time 100.000
Item #frames Timestep (ps)
Step 11 10
Time 11 10
Lambda 11 10
Coords 11 10
Velocities 11 10
Forces 11 10
Box 11 10
The same problem occurs in previous version of gromacs, 2019.2, 2021.3 (as reported previously in the FORUM).