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
This script above runs static calculations under electrical field. However, I got the error message below.
It turns out that the LargeSigmaHandler handler did not properly deal with the calculations under finite field. In such senario, the calculations will be done for electrical field along 3 directions, and the ionic step index will always start from 1 for each direction. However, LargeSigmaHandler will treat the OUTCAR as if these is only one ionic step.
Version
2024.10.16
Which OS?
MacOS
Windows
Linux
Log output
Retrieving MaterialsDoc documents: 100%|█████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 18236.10it/s]
2024-12-24 03:39:00,329 INFO Started executing jobs locally
2024-12-24 03:39:00,333 INFO Starting job - static (ccbc7678-b61b-4302-b8b4-d0a339b80ada)
with zopen(filename, mode="rt", errors="replace") as file:
2024-12-24 03:44:04,035 INFO static failed with exception:
Traceback (most recent call last):
File "/opt/miniforge/lib/python3.10/site-packages/jobflow/managers/local.py", line 114, in _run_job
response = job.run(store=store)
File "/opt/miniforge/lib/python3.10/site-packages/jobflow/core/job.py", line 600, in run
response = function(*self.function_args, **self.function_kwargs)
File "/opt/miniforge/lib/python3.10/site-packages/atomate2/vasp/jobs/base.py", line 228, in make
run_vasp(**self.run_vasp_kwargs)
File "/opt/miniforge/lib/python3.10/site-packages/atomate2/vasp/run.py", line 161, in run_vasp
custodian_manager.run()
File "/opt/miniforge/lib/python3.10/site-packages/custodian/custodian.py", line 385, in run
self._run_job(job_n, job)
File "/opt/miniforge/lib/python3.10/site-packages/custodian/custodian.py", line 488, in _run_job
has_error = self._do_check(self.monitors, terminate)
File "/opt/miniforge/lib/python3.10/site-packages/custodian/custodian.py", line 653, in _do_check
if handler.check(directory=self.directory):
File "/opt/miniforge/lib/python3.10/site-packages/custodian/vasp/handlers.py", line 1408, in check
entropies_per_atom[ie_step - 1] = smearing_entropy[ie_step_idx]
IndexError: list index out of range
2024-12-24 03:44:04,035 INFO Finished executing jobs locally
The text was updated successfully, but these errors were encountered:
Code snippet
What happened?
This script above runs static calculations under electrical field. However, I got the error message below.
It turns out that the
LargeSigmaHandler
handler did not properly deal with the calculations under finite field. In such senario, the calculations will be done for electrical field along 3 directions, and the ionic step index will always start from 1 for each direction. However,LargeSigmaHandler
will treat the OUTCAR as if these is only one ionic step.Version
2024.10.16
Which OS?
Log output
The text was updated successfully, but these errors were encountered: