# Restarting calculations

**URL:** <https://gromacs.bioexcel.eu/t/restarting-calculations/3677>\
**Category:** User discussions\
**Created:** [February 16, 2022, 8:48am UTC](https://gromacs.bioexcel.eu/t/restarting-calculations/3677 "2022-02-16T08:48:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew1310](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Matthew1310](https://gromacs.bioexcel.eu/u/Matthew1310)\
**Post date:** [February 16, 2022, 8:48am UTC](https://gromacs.bioexcel.eu/t/restarting-calculations/3677/1 "2022-02-16T08:48:46Z")

</div>

Hi,  
I’m currently using GROMACS for a simulation of 50 ns.  
I started the run with this command through ssh terminal :  
gmx mdrun -deffnm md -nb gpu  
Because this simulation is very long (12-24 h) I want to close the terminal this evening and then restart it tomorrow morning.  
Anyone can tell me how to restart this simulation ?

---

<div class="post-metadata">

**Author:** ![alevilla](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/alevilla/32/439_2.png) [@alevilla](https://gromacs.bioexcel.eu/u/alevilla)\
**Post date:** [February 16, 2022, 11:10am UTC](https://gromacs.bioexcel.eu/t/restarting-calculations/3677/2 "2022-02-16T11:10:41Z")

</div>

Hi,  
you can restart a simulation from the checkpoint file. You can find more here: [Managing long simulations — GROMACS 2021.5 documentation](https://manual.gromacs.org/current/user-guide/managing-simulations.html?highlight=restart%20simulation)  
\Alessandra

---

<div class="post-metadata">

**Author:** ![Matthew1310](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Matthew1310](https://gromacs.bioexcel.eu/u/Matthew1310)\
**Post date:** [February 16, 2022, 1:24pm UTC](https://gromacs.bioexcel.eu/t/restarting-calculations/3677/3 "2022-02-16T13:24:39Z")

</div>

I’ve used :  
gmx mdrun -deffnm md -cpi md.cpt -v  
Is it correct ?
