I was trying to OptimizeGeometry of a device when my system turned off due to power outage. I have the checkpoint file and the original python script of the simulation that I was trying to run.
So since the steps in the Script generator were Configuration, New Calculator and OptimizeGeometry,
1. should I force start the calculation with the help of only the following script
configuration = nlread("checkpointfile.nc")[0]
configuration.setCalculator(configuration.calculator(), initial_state=configuration)
configuration.update(force_restart=True)
nlsave("file.nc",configuration)
or
2. will I have to restart from the original script and make the following changes in it
device_configuration = nlread("checkpointfile.nc")[0]
device_configuration.update(force_restart=True)
or
3. should I start the script from a scratch?
The tutorial doesn't contain much info for Restarting Geometry Optimization.
It will be a great help if anyone could provide steps in detail.
Thanks!!!