Replies: 5 comments 2 replies
-
could you provide the POSCAR file mentioned above? |
Beta Was this translation helpful? Give feedback.
-
When I try to read the POSCAR with dpdata (which DP-GEN read this file with), the following error occurs. |
Beta Was this translation helpful? Give feedback.
-
Do you find the solution of ValueError: Invalid format: ch4.poscar.01x01x01/00.place_ele/poscar? I also meet this problem? if you could provide some guidance, I would greatly appreciate your help. |
Beta Was this translation helpful? Give feedback.
-
You can refer to this tutorial, URL: #1108. I tried changing the pymatgen version to pymatgen==2022.0.17 and it worked.
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2023年3月18日(星期六) 下午5:55
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [deepmodeling/dpgen] dpgen init_ bulk method help (Discussion #1036)
你找到value的解决方案了吗错误:无效的格式:ch4.poscar.01x01x01/00.place_ele/poscar?我也遇到这个问题?如果您能提供一些指导,我将非常感谢您的帮助。
—
直接回复这封邮件,在GitHub上查看或取消订阅.
***@***.***与>.
|
Beta Was this translation helpful? Give feedback.
-
Thank you, According to your suggestion, the problem solved (dpgen==0.11.0 and pymatgen==2022.0.17 wok well). This means that there still have compatibility problem between dpgen and pymatgen untill now, the latest version of pymatgen(2023.3.10) is incompatible with dpgen (dpgen==0.11.0), although the author said they have upgraded the code. Many thanks for your help again. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm using dpgen to run LiSi. I want to use init_ bulk method generates the initial dataset, and then always reports an error in the invalid poscar format; At the same time, I also tried the example of CH4. The original files were copied from the example folder, and the problem was also reported. I would be grateful if someone could help me.
LiSi:
Description
Traceback (most recent call last):
File "/home/deepmd/.local/bin/dpgen", line 8, in
sys.exit(main())
File "/home/deepmd/.local/lib/python3.10/site-packages/dpgen/main.py", line 185, in main
args.func(args)
File "/home/deepmd/.local/lib/python3.10/site-packages/dpgen/data/gen.py", line 1410, in gen_init_bulk
make_super_cell_poscar(jdata)
File "/home/deepmd/.local/lib/python3.10/site-packages/dpgen/data/gen.py", line 335, in make_super_cell_poscar
from_struct.to('poscar',to_file)
File "/home/deepmd/.local/lib/python3.10/site-packages/pymatgen/core/structure.py", line 2518, in to
raise ValueError(f"Invalid format:
{str(fmt)}
")ValueError: Invalid format:
poscar_lisi.01x01x01/00.place_ele/poscar
CH4
Description
Traceback (most recent call last):
File "/home/deepmd/.local/bin/dpgen", line 8, in
sys.exit(main())
File "/home/deepmd/.local/lib/python3.10/site-packages/dpgen/main.py", line 185, in main
args.func(args)
File "/home/deepmd/.local/lib/python3.10/site-packages/dpgen/data/gen.py", line 1410, in gen_init_bulk
make_super_cell_poscar(jdata)
File "/home/deepmd/.local/lib/python3.10/site-packages/dpgen/data/gen.py", line 335, in make_super_cell_poscar
from_struct.to('poscar',to_file)
File "/home/deepmd/.local/lib/python3.10/site-packages/pymatgen/core/structure.py", line 2518, in to
raise ValueError(f"Invalid format:
{str(fmt)}
")ValueError: Invalid format:
ch4.poscar.01x01x01/00.place_ele/poscar
Beta Was this translation helpful? Give feedback.
All reactions