Difference in geometry (and energy) when using the bash export XTBPATH
option.
#1110
Labels
bug
Something isn't working
export XTBPATH
option.
#1110
Describe the bug
If a
xtb
calculation is done withexport XTBPATH
(to the correspondingxtb
source directory), the optimized structure differs from the optimized geometry without the environment variable . This bug was tested with GFN2-xTB.Probably,
xtb
infers some information from thextb
source folder where theexpot XTBPATH
pointed to, e.g. theparam_gfn2-xtb.txt
file.The same bug occurred when I used the
gfortran
compiler.To Reproduce
Steps to reproduce the behaviour:
Input Geometry
xtb
withexport XTBPATH
enabledOutput with `export XTBPATH` enabled
xtbout.txt
xtb
withoutexport XTBPATH
enabledOutput without `export XTBPATH` enabled
xtbout.txt
Expected behaviour
It should not make a difference if I enable the
export XTBPATH
in the~/.bashrc
or not.The differences in the geometries are larger than a threshold of 10⁻⁴ Angstroem.
Additional context
The first idea is that the existing
param_gfn2-xtb.txt
file is read when using theexport XTBPATH
option and consequently the parameters differ from the hard coded parameters and a different geometry is obtained.The text was updated successfully, but these errors were encountered: