Replies: 3 comments 1 reply
-
Hi, what kind of structure is it? Is it the case? Could you provide the structure to help us reproduce the error? |
Beta Was this translation helpful? Give feedback.
-
Thanks, it seems indeed that the supercell choosen does not satisfy the same symmetries of the structure. This gives the error when trying to enforce the symmetrization collecting the q points of the 2x2x3 mesh in stars. I assume that both the 2x2x2 and 3x3x3 supercells work, do they? |
Beta Was this translation helpful? Give feedback.
-
When 2x2x2 and 3x3x3 are fine. |
Beta Was this translation helpful? Give feedback.
-
I would like to create a supercell with a size of (223), but I encountered the following error.
Traceback (most recent call last): File "/home/ubuntu/user/caolingzhi/1-DPA-Semi/test/sscha-test.py", line 47, in <module> dyn, bulk = get_starting_dynamical_matrices('POSCAR-prim', pot, supercell) File "/home/ubuntu/user/caolingzhi/1-DPA-Semi/test/sscha-test.py", line 27, in get_starting_dynamical_matrices dyn = CC.Phonons.compute_phonons_finite_displacements(structure, potential, supercell = supercell) File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/cellconstructor/Phonons.py", line 4498, in compute_phonons_finite_displacements return compute_phonons_finite_displacements_sym(structure, ase_calculator, epsilon, File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/cellconstructor/Phonons.py", line 4857, in compute_phonons_finite_displacements_sym correct_dyn.AdjustQStar() File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/cellconstructor/Phonons.py", line 3079, in AdjustQStar q_stars, q_order = qe_sym.SetupQStar(self.q_tot) File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/cellconstructor/symmetries.py", line 309, in SetupQStar pop_index = np.argmin(q_dist) File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 1325, in argmin return _wrapfunc(a, 'argmin', axis=axis, out=out, **kwds) File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc return _wrapit(obj, method, *args, **kwds) File "/home/ubuntu/anaconda3/envs/sscha/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 45, in _wrapit result = getattr(asarray(obj), method)(*args, **kwds) ValueError: attempt to get argmin of an empty sequence
Beta Was this translation helpful? Give feedback.
All reactions