-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while 1.parse_Overlap in interfere part #42
Comments
It seems like your pymatgen is not correctly parsing the POSCAR file. You are using an older version of the DeepH code. Please update both DeepH-pack and overlap only openmx to the latest versions and try again. |
Thanks for your reponse,updating them working out this problem. ******* Finish 1.parse_Overlap, cost 5 seconds ####### Begin 2.get_local_coordinate ******* Finish 2.get_local_coordinate, cost 3 seconds ####### Begin 3.get_pred_Hamiltonian |
As mentioned in the error message you encountered, the required files are indeed expected to be present in the |
Hi, But after browsing through similar issues, I found that my problem cannot be solved. May I ask if this is caused by improper environmental configuration? Begin 5.sparse_calc best regards |
It appears that you may have redirected the program output to a file, which could be why the error message you are seeing does not include the error from the Julia program. You can check the earlier part of your output to see if it contains the line |
Yes,When I found the command you mentioned, I found an error as follows.
|
Based on the error message you provided: |
Thanks you ! Your reply helped me solve my problem! I'm so thankful for your patient response. |
Hi, dear developer.
when I am doing the inference part, The following error occurred.
Begin 1.parse_Overlap
Traceback (most recent call last):
File "/fs1/home/qijingshan/miniconda3/envs/copy/bin/deeph-inference", line 8, in
sys.exit(main())
File "/fs1/home/qijingshan/miniconda3/envs/copy/lib/python3.9/site-packages/deeph/scripts/inference.py", line 63, in main
openmx_parse_overlap(OLP_dir, work_dir, os.path.join(OLP_dir, structure_file_name))
File "/fs1/home/qijingshan/miniconda3/envs/copy/lib/python3.9/site-packages/deeph/preprocess/openmx_parse.py", line 76, in openmx_parse_overlap
structure = Structure.from_file(stru_dir)
File "/fs1/home/qijingshan/miniconda3/envs/copy/lib/python3.9/site-packages/pymatgen/core/structure.py", line 2676, in from_file
s = cls.from_str(contents, fmt="poscar", primitive=primitive, sort=sort, merge_tol=merge_tol, **kwargs)
File "/fs1/home/qijingshan/miniconda3/envs/copy/lib/python3.9/site-packages/pymatgen/core/structure.py", line 2594, in from_str
s = Poscar.from_string(input_string, False, read_velocities=False, **kwargs).structure
File "/fs1/home/qijingshan/miniconda3/envs/copy/lib/python3.9/site-packages/pymatgen/io/vasp/inputs.py", line 390, in from_string
toks = lines[ipos + 1 + i].split()
IndexError: tuple index out of range
It looks a bit strange,It What should I do to avoid reporting errors?
Here is my train.ini
[basic]
OLP_dir = /fs1/home/qijingshan/wcd/TBB/example/work_dir/olp/5_4
work_dir = /fs1/home/qijingshan/wcd/TBB/example/work_dir/inference/5_4
structure_file_name = POSCAR
task = [1, 2, 3, 4, 5]
sparse_calc_config = /fs1/home/qijingshan/wcd/TBB/example/work_dir/inference/5_4/band.json
trained_model_dir = /fs1/home/qijingshan/wcd/TBB/example/work_dir/trained_model
restore_blocks_py = True
[interpreter]
julia_interpreter = /fs1/home/qijingshan/julia-1.6.6/bin/juila
[graph]
radius = 9.0
create_from_DFT = True
The text was updated successfully, but these errors were encountered: