You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A single point calculation that completed on version v20.1 cannot be evaluated with v20.2 and v22.1. This is a specific example, a pair of OH separated by 4Å, seen as part of re-evaluating an earlier MD run which then worked nicely but re-evaluating it has failed. See a simplified input below with a specific example.
To Reproduce
Run the following script with version v20.1 and v20.2/v22.1
calculator parameters: {'method': 'GFN2-xTB', 'accuracy': 1.0, 'max_iterations': 250, 'electronic_temperature': 300.0, 'solvent': 'None', 'cache_api': True}
Traceback (most recent call last):
File "/home/tks32/.conda/envs/xtb-20.2/lib/python3.8/site-packages/xtb/ase/calculator.py", line 231, in calculate
self._res = self._xtb.singlepoint(self._res)
File "/home/tks32/.conda/envs/xtb-20.2/lib/python3.8/site-packages/xtb/interface.py", line 814, in singlepoint
raise XTBException(self.get_error("Single point calculation failed"))
xtb.interface.XTBException: Single point calculation failed:
-2- xtb_calculator_singlepoint: Electronic structure method terminated
-1- scf: Self consistent charge iterator did not converge
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "xtb-debug-1.py", line 20, in <module>
print(at.get_potential_energy())
File "/home/tks32/.conda/envs/xtb-20.2/lib/python3.8/site-packages/ase/atoms.py", line 731, in get_potential_energy
energy = self._calc.get_potential_energy(self)
File "/home/tks32/.conda/envs/xtb-20.2/lib/python3.8/site-packages/ase/calculators/calculator.py", line 709, in get_potential_energy
energy = self.get_property('energy', atoms)
File "/home/tks32/.conda/envs/xtb-20.2/lib/python3.8/site-packages/ase/calculators/calculator.py", line 737, in get_property
self.calculate(atoms, [name], system_changes)
File "/home/tks32/.conda/envs/xtb-20.2/lib/python3.8/site-packages/xtb/ase/calculator.py", line 233, in calculate
raise ase_calc.CalculationFailed("xtb could not evaluate input")
ase.calculators.calculator.CalculationFailed: xtb could not evaluate input
Both tested with the same ubuntu machine using Conda, see env files below, and re-tried on MacOS (Intel & M2 as well) for the latest version.
Expected behaviour
Would expect the calculation to be successful on the later versions as well.
Additional context
conda info:
active environment : xtb-22.1
active env location : /home/tks32/.conda/envs/xtb-22.1
shell level : 10
user config file : /home/tks32/.condarc
populated config files : /opt/womble/miniconda3/.condarc
conda version : 23.1.0
conda-build version : not installed
python version : 3.8.5.final.0
virtual packages : __archspec=1=x86_64
__glibc=2.27=0
__linux=5.4.0=0
__unix=0=0
base environment : /opt/womble/miniconda3 (writable)
conda av data dir : /opt/womble/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
package cache : /opt/womble/miniconda3/pkgs
/home/tks32/.conda/pkgs
envs directories : /home/tks32/.conda/envs
/opt/womble/miniconda3/envs
platform : linux-64
user-agent : conda/23.1.0 requests/2.28.1 CPython/3.8.5 Linux/5.4.0-42-generic ubuntu/18.04.6 glibc/2.27
UID:GID : 220009:13000
netrc file : None
offline mode : False
Describe the bug
A single point calculation that completed on version
v20.1
cannot be evaluated withv20.2
andv22.1
. This is a specific example, a pair ofOH
separated by 4Å, seen as part of re-evaluating an earlier MD run which then worked nicely but re-evaluating it has failed. See a simplified input below with a specific example.To Reproduce
Run the following script with version
v20.1
andv20.2
/v22.1
On
v20.1
: (xtb6.3.3
)On
v20.2
&v22.1
: (xtb6.5.0
&6.5.1
)Both tested with the same ubuntu machine using Conda, see env files below, and re-tried on MacOS (Intel & M2 as well) for the latest version.
Expected behaviour
Would expect the calculation to be successful on the later versions as well.
Additional context
conda info:
xtb-20.1.yaml.txt
xtb-20.2.yaml.txt
xtb-22.1.yaml.txt
The text was updated successfully, but these errors were encountered: