Hi All,
I have tried to restart a device calculation from a checkpoint file. "General info" in the toolbox shows that the checkpoint file has 162 steps of SCF iterations stored in it. The script I use to restart the calculation is the following:
configuration = nlread("Ni100-InAs100_InTerm_1e19_dev_rlx2_MGGA_checkpoint.hdf5")[0]
configuration.setCalculator(configuration.calculator(), initial_state=configuration)
configuration.update(force_restart=True)
nlsave("Ni100-InAs100_InTerm_1e19_dev_rlx2_MGGA.hdf5",configuration)
However, running this script gives an error message which reads:
Traceback (most recent call last):
File "Ni100-InAs100_InTerm_1e19_dev_rlx2_MGGA_2.py", line 4, in <module>
configuration.setCalculator(configuration.calculator(), initial_state=configuration)
File "zipdir/NL/CommonConcepts/Configurations/DeviceConfiguration.py", line 1184, in setCalculator
File "zipdir/NL/Calculators/SemiEmpirical/HuckelCalculator/ExtractState.py", line 147, in extractDeviceState
File "zipdir/NL/Calculators/SemiEmpirical/HuckelCalculator/ExtractState.py", line 327, in extractStateUtility
File "zipdir/NL/Calculators/SemiEmpirical/HuckelCalculator/ExtractState.py", line 261, in newCellIndex
NL.ComputerScienceUtilities.Exceptions.NLValueError: The argument configuration_1 is the same object as configuration_2, however, the object does not seem to have an updated calculator.
Could anyone explain why this happens, and help me resolve this issue? Thanks a lot!