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
Command line argument 'vasp_gam' was not understood.
in vasp.out
For some reason, custodian does not see this as an error and keep applying the same correction until the maximum number of corrections are used resulting in a confusing error message. It would be better if we can improve the error message as well.
2023-06-19 05:56:50,913 INFO Started executing jobs locally
2023-06-19 05:56:50,917 INFO Starting job - relax (d1196769-4075-47b3-8a2f-6087a8c96db5)
ERROR:custodian.custodian:LargeSigmaHandler
WARNING:custodian.vasp.jobs:killing vasp processes in work dir /scratch/job_2023-06-19-05-56-50-916083-15798 failed. Resorting to 'killall'.
vasp_std: no process found
vasp_gam: no process found
ERROR:custodian.custodian:LargeSigmaHandler
WARNING:custodian.vasp.jobs:killing vasp processes in work dir /scratch/job_2023-06-19-05-56-50-916083-15798 failed. Resorting to 'killall'.
vasp_std: no process found
vasp_gam: no process found
vasp_gam: no process found
ERROR:custodian.custodian:LargeSigmaHandler
WARNING:custodian.vasp.jobs:killing vasp processes in work dir /scratch/job_2023-06-19-05-56-50-916083-15798 failed. Resorting to 'killall'.
vasp_std: no process found
vasp_gam: no process found
vasp_gam: no process found
vasp_gam: no process found
ERROR:custodian.custodian:LargeSigmaHandler
WARNING:custodian.vasp.jobs:killing vasp processes in work dir /scratch/job_2023-06-19-05-56-50-916083-15798 failed. Resorting to 'killall'.
vasp_std: no process found
vasp_gam: no process found
vasp_gam: no process found
vasp_gam: no process found
vasp_gam: no process found
ERROR:custodian.custodian:Unrecoverable error for handler: <custodian.vasp.handlers.LargeSigmaHandler object at 0x7f9f367fbfd0>
2023-06-19 06:02:35,068 INFO relax failed with exception:
Traceback (most recent call last):
File "/opt/miniconda/lib/python3.9/site-packages/jobflow/managers/local.py", line 98, in _run_job
response = job.run(store=store)
File "/opt/miniconda/lib/python3.9/site-packages/jobflow/core/job.py", line 544, in run
response = function(*self.function_args, **self.function_kwargs)
File "/opt/miniconda/lib/python3.9/site-packages/atomate2/vasp/jobs/base.py", line 147, in make
run_vasp(**self.run_vasp_kwargs)
File "/opt/miniconda/lib/python3.9/site-packages/atomate2/vasp/run.py", line 167, in run_vasp
c.run()
File "/opt/miniconda/lib/python3.9/site-packages/custodian/custodian.py", line 383, in run
self._run_job(job_n, job)
File "/opt/miniconda/lib/python3.9/site-packages/custodian/custodian.py", line 521, in _run_job
raise NonRecoverableError(s, True, x["handler"])
custodian.custodian.NonRecoverableError: Unrecoverable error for handler: <custodian.vasp.handlers.LargeSigmaHandler object at 0x7f9f367fbfd0>
INFO:jobflow.managers.local:relax failed with exception:
Traceback (most recent call last):
File "/opt/miniconda/lib/python3.9/site-packages/jobflow/managers/local.py", line 98, in _run_job
response = job.run(store=store)
File "/opt/miniconda/lib/python3.9/site-packages/jobflow/core/job.py", line 544, in run
response = function(*self.function_args, **self.function_kwargs)
File "/opt/miniconda/lib/python3.9/site-packages/atomate2/vasp/jobs/base.py", line 147, in make
run_vasp(**self.run_vasp_kwargs)
File "/opt/miniconda/lib/python3.9/site-packages/atomate2/vasp/run.py", line 167, in run_vasp
c.run()
File "/opt/miniconda/lib/python3.9/site-packages/custodian/custodian.py", line 383, in run
self._run_job(job_n, job)
File "/opt/miniconda/lib/python3.9/site-packages/custodian/custodian.py", line 521, in _run_job
raise NonRecoverableError(s, True, x["handler"])
custodian.custodian.NonRecoverableError: Unrecoverable error for handler: <custodian.vasp.handlers.LargeSigmaHandler object at 0x7f9f367fbfd0>
2023-06-19 06:02:35,069 INFO Finished executing jobs locally
INFO:jobflow.managers.local:Finished executing jobs locally
{}
Suggested solution (if known)
Use an immutable data type (e.g., tuple) instead of list.
Files
<If input files are needed for the error, please copy and paste them here.>
<contents of file 1>
The text was updated successfully, but these errors were encountered:
Good catch @ryotatomioka , and sorry for messing this up. I tried to stick to the old terminate functionality, but messed up at least one indentation. Maybe more.
@janosh , I am happy to make the commands immutable in a PR, but probably this can be included in #264, since this also has to do with termination. What do you think?
When reporting bugs/issues, please supply the following information. If this
is a feature request, please simply state the requested feature.
System
Summary
I believe a bug was introduced in this commit around these lines
custodian/custodian/vasp/jobs.py
Lines 689 to 696 in f7dc11a
The problem is that both
self.vasp_cmd
andself.gamma_vasp_cmd
can be lists! In this case,self.gamma_vasp_cmd
is appended toself.vasp_cmd
every timeterminate
method is called. This is the case whencustodian
is called fromatomate2
. See:https://github.com/materialsproject/atomate2/blob/02e44c038903d2c935c82b31afd8ab82a69c039e/src/atomate2/vasp/run.py#L86-L170
This results in
For some reason, custodian does not see this as an error and keep applying the same correction until the maximum number of corrections are used resulting in a confusing error message. It would be better if we can improve the error message as well.
Example code
Error message
Suggested solution (if known)
Files
<If input files are needed for the error, please copy and paste them here.>
The text was updated successfully, but these errors were encountered: