Skip to content

Too many backup files in GROMACS when colvarsRestartFrequency is small #846

@HanatoK

Description

@HanatoK

I was using colvarsRestartFrequency 50000 to run a simulation of 80000000 steps in GROMACS with Colvars, and got the following error:

-------------------------------------------------------
Program:     gmx mdrun, version 2025.2
Source file: src/gromacs/utility/futil.cpp (line 357)

Fatal error:
Won't make more than 99 backups of 007_r.out.abf1.count for you.
The env.var. GMX_MAXBACKUP controls this maximum, -1 disables backups.

For more information and tips for troubleshooting, please check the GROMACS
website at https://manual.gromacs.org/current/user-guide/run-time-errors.html
-------------------------------------------------------

It looks like that Colvars uses the internal backup mechanism of GROMACS, so it would be better to document the behavior of using a small colvarsRestartFrequency.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions