계산은 언제든 어떤 이유에서든 종료될 수 있습니다.
어떻게 하면 끊어진 계산을 다시 그 지점부터 시작할 수 있을까요?
아래의 사이트를 참고하면, 그 해답을 알 수 있는데,
Managing long simulations - GROMACS 2022.3 documentationMolecular simulations often extend beyond the lifetime of a single UNIX command-line process. It is useful to be able to stop and restart the simulation in a way that is equivalent to a single run. When is halted, it writes a checkpoint file that can restart the simulation exactly as if there was no interruption.manual.gromacs.org곧, 아래의 커맨드 한 줄이 멈춘 우리의 계산을 재진행시킬 수 있습니다.
gmx mdrun -v -deffnm [계산 실행할 tpr 파일 이름] -cpi [계산이 종료될 시 출력된 .cpt 파일명] -append 즉,
- 처음 계산에 사용한
.tpr파일 - 계산 종료 시 출력된
.cpt(체크포인트) 파일 -append옵션
이 세 개만 있으면 계산을 그 시점부터 다시 진행할 수 있습니다.
-cpi 옵션을 이용하여 중간에 종료된 계산을 다시 재진행해보세요.
⚠️ -noappend를 입력하는 순간 0 ns부터 다시 계산이 진행되므로 조심하세요.
◻️