# Failed to run long trajectory to compute MSD

**URL:** <https://gromacs.bioexcel.eu/t/failed-to-run-long-trajectory-to-compute-msd/11642>\
**Category:** User discussions\
**Tags:** analysis-tools\
**Created:** [February 27, 2025, 4:21am UTC](https://gromacs.bioexcel.eu/t/failed-to-run-long-trajectory-to-compute-msd/11642 "2025-02-27T04:21:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BilashMaity](https://avatars.discourse-cdn.com/v4/letter/b/bbe5ce/32.png) [@BilashMaity](https://gromacs.bioexcel.eu/u/BilashMaity)\
**Post date:** [February 27, 2025, 4:21am UTC](https://gromacs.bioexcel.eu/t/failed-to-run-long-trajectory-to-compute-msd/11642/1 "2025-02-27T04:21:35Z")

</div>

Respected Gromacs Users,  
I am trying to compute MSD for a aggregation study. I am able to run only 10ns at a time. But I need to run a full trajectory of 1000ns. I am using this command  
gmx msd -f traj.xtc -s topol.tpr -o msd.xvg

## When I try to do long trajectory run (more than 10ns), I am getting this error Reading frame 10000 time 990000.000

Program: gmx msd, version 2023

Standard library logic error (bug):  
(exception type: St12length\_error)  
vector::\_M\_default\_append

If anyone can suggest some way to compute long trajectory, I will be highly greatfull.

Thanking You,  
Bilash Maity
