Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Geometry optimization with fixed atoms using the GFN-FF #800

Open
benbaed opened this issue Apr 5, 2023 · 1 comment
Open

Failing Geometry optimization with fixed atoms using the GFN-FF #800

benbaed opened this issue Apr 5, 2023 · 1 comment
Assignees
Labels
method: GFN-FF Related to the GFN-FF method unconfirmed This report has not yet been confirmed by the developers

Comments

@benbaed
Copy link
Contributor

benbaed commented Apr 5, 2023

Describe the bug
Geometry optimizations using the GFN-FF do not work when I try to fix certain atoms of the structure.
A possible work-around is to use the ANC optimizer and not the default L-ANC optimizer.

To Reproduce
Steps to reproduce the behavior:

This consistently happens with multiple of my NCI structures (I could not reproduce it using Benzene)

  1. start xtb (version 6.5.1) with:
    xtb struc.xyz --gfnff --gbsa toluene --opt vtight --input xtb.inp > xtb.out

  2. the following errors are printed:
    [ERROR] Program stopped due to fatal error
    -3- Geometry optimization failed
    -2- xtb_geoopt: Geometry optimization did not converge
    -1- gfnff_setup: Could not read topology file.

  3. Searching for "L-ANC optimizer", one can find the following message:
    k= 528 nvar= 4974
    ANC generation failed

Expected behaviour
As using the normal ANC optimizer, the given atoms should be fixed and the optimization should be running and not stop.

Additional context
I found that using the normal ANC optimizer solves this issue, the xtb.inp then looks like this:

$opt
 engine=rf
$fix
  atoms: 1-1482
$end 

Since the ANC optimizer is the default for gfn2, I did not observe the bug there.

Input and generated files
gfnff_fix_bug.zip

@benbaed benbaed added the unconfirmed This report has not yet been confirmed by the developers label Apr 5, 2023
@Thomas3R Thomas3R self-assigned this Apr 5, 2023
@marcelmbn
Copy link
Member

@benbaed @Thomas3R Is this issue still present?

@marvinfriede marvinfriede added the method: GFN-FF Related to the GFN-FF method label Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
method: GFN-FF Related to the GFN-FF method unconfirmed This report has not yet been confirmed by the developers
Projects
None yet
Development

No branches or pull requests

4 participants