Example 8, Thermal conductivity calculations with the SSCHA crashed #186
-
|
I am running example 6 tutorial the shows how to compute thermal conductivity with MLP but keep crashing at the first step. Here is the error message: Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
Hi Yusuf, |
Beta Was this translation helpful? Give feedback.
-
|
It seems the problem is much bigger. https://spglib.readthedocs.io/en/latest/releases.html For now, the solution is to downgrade spglib prior 2.3 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much. I look forward to the upgrade! In the meantime, I am now able to run the example but needed to change a little bit the new Thermodynamic python function. Basically, for instance, w_to_a needs not to take n as input as the shape of a could be infer from the shape of w (I think?) and also because n is not an argument of w_to_a in Ensemble.py: I replaced Please let me know if there is any problem with these changes. Many thanks. |
Beta Was this translation helpful? Give feedback.
-
|
No correct,
You are right, there is a mistake in that answer.
I will update the accepted answer
Il Sab 3 Feb 2024, 01:16 yusufshaidu ***@***.***> ha scritto:
… Thank you very much. I look forward to the upgrade!
In the meantime, I am now able to run the example but needed to change a
little bit the new Thermodynamic python function. Basically, for instance,
w_to_a needs not to take n as input as the shape of a could be infer from
the shape of w (I think?) and also because n is not an argument of w_to_a
in Ensemble.py:
I replaced
def w_to_a(w, T, n):
a = np.zeros(n)
with
def w_to_a(w, T):
a = np.zeros(w.shape)
and the other function that request n.
Please let me know if there is any problem with these changes.
Many thanks.
—
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGZMNVFX67GOQIGAZXXPR63YRV6XBAVCNFSM6AAAAABCV334W2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGNJRHA3DS>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
It seems the problem is much bigger.
Togo just removed support for ase atoms in spglib, thus breaking all the compatibility of our code with spglib.
https://spglib.readthedocs.io/en/latest/releases.html
For now, the solution is to downgrade spglib prior 2.3