Replies: 2 comments 6 replies
-
It seems pymatgen is causing this problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Since I did "pip install csp-cryspy", it did install pymatgen (whatever version was required). [basic] [structure] [VASP] [option] I looked and see that pymatgen's version installed is pymatgen-2023.10.11 |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an issue with cryspy, when stage 1 is completed. I got the following message:
cryspy
[2023-10-15 19:15:21,315][cryspy_restart][INFO]
Restart CrySPY 1.2.1
[2023-10-15 19:15:22,933][ctrl_job][INFO] # ---------- job status
[2023-10-15 19:15:22,933][ctrl_job][INFO] ID 0: Stage 1 Done!
Traceback (most recent call last):
File "/p/home/sergeyl/miniconda3/bin/cryspy", line 8, in
sys.exit(main())
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/cryspy/scripts/cryspy.py", line 114, in main
jobs.handle_job()
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/cryspy/job/ctrl_job.py", line 157, in handle_job
self.ctrl_done()
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/cryspy/job/ctrl_job.py", line 173, in ctrl_done
self.ctrl_next_stage()
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/cryspy/job/ctrl_job.py", line 201, in ctrl_next_stage
skip_flag, self.kpt_data = select_code.next_stage(
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/cryspy/interface/select_code.py", line 57, in next_stage
skip_flag, kpt_data = ctrl_job_vasp.next_stage_vasp(stage, work_path,
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/cryspy/interface/VASP/ctrl_job_vasp.py", line 42, in next_stage_vasp
structure = Structure.from_file(work_path+'POSCAR')
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/structure.py", line 2852, in from_file
struct = cls.from_str(contents, fmt="poscar", primitive=primitive, sort=sort, merge_tol=merge_tol, **kwargs)
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/structure.py", line 2770, in from_str
struct = Poscar.from_str(input_string, default_names=False, read_velocities=False, **kwargs).structure
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/io/vasp/inputs.py", line 411, in from_str
struct = Structure(
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/structure.py", line 3658, in init
super().init(
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/structure.py", line 921, in init
site = PeriodicSite(
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/sites.py", line 334, in init
species = Composition({get_el_sp(species): 1}) # type: ignore
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/periodic_table.py", line 1409, in get_el_sp
return Species.from_str(obj) # type: ignore
File "/p/home/sergeyl/miniconda3/lib/python3.10/site-packages/pymatgen/core/periodic_table.py", line 1052, in from_str
properties = {tokens[0]: ast.literal_eval(tokens[1])}
IndexError: list index out of range
I cannot figure it out what is wrong. Jobs finished correctly.
Beta Was this translation helpful? Give feedback.
All reactions