Skip to content

Ensure a restart file is written after convergence failure - #1436

Merged
thfroitzheim merged 2 commits into
grimme-lab:mainfrom
TyBalduf:fix/issue-1146-restart-validation
Sep 11, 2026
Merged

thfroitzheim merged 2 commits into
grimme-lab:mainfrom
TyBalduf:fix/issue-1146-restart-validation

Conversation

@TyBalduf

@TyBalduf TyBalduf commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #1146

Just adds writing/dumping of restart files to before the calculation termination that would occur if the initial SCC failed to converged.

@TyBalduf
TyBalduf force-pushed the fix/issue-1146-restart-validation branch from 7cec467 to 05a4ab5 Compare August 12, 2026 03:28
* Ignore restart file if it can't be read

Signed-off-by: Ty Balduf <ty.balduf@schrodinger.com>
@TyBalduf
TyBalduf force-pushed the fix/issue-1146-restart-validation branch from 05a4ab5 to 2d52a55 Compare August 12, 2026 03:29
Comment thread src/prog/main.F90

! ------------------------------------------------------------------------
! to further speed up xtb calculations we dump our most important
! quantities in a restart file, so we can save some precious seconds

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still consistent, if one performed an optimization or MD in between? In this case, we want to write the restart file for the new structure, right? Maybe we have to leave this here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah you are right, I was for some reason thinking it looped backed around to the single point, but this is just the initial single point done before any other calculation mode. I've restored this, so the only change is just an additional restart dump for the initial SCC incase it fails.

Signed-off-by: Ty Balduf <ty.balduf@schrodinger.com>
@thfroitzheim
thfroitzheim merged commit 2010ace into grimme-lab:main Sep 11, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--restart not working and faulty convergence with wrong restart files

2 participants