IDAKLUsolver run failed ”“KLU” is not installed #4350
Unanswered
benshang1997
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @benshang1997 , Are you using WSL or installing it directly on Windows? I was able to install it and use it without any errors via WSL. Did not try the windows installation @agriyakhetarpal has given detailed instructions for both installation procedures in this discussion |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am planning to use IDAKLUSolver to simulate a long degradation expriment with a termination stop suggested by other disgussion.
I install pybamm[jax] successfully but meet some issues as follow when i run:
Traceback (most recent call last):
File "D:\OneDrive - University of Surrey\ai4battery_uos_whu\codes\ai4battery\My_code_for_fast_charging\new_code_0521\just_test\degradation_battery_test.py", line 35, in
safe_solver = pybamm.IDAKLUSolver()
^^^^^^^^^^^^^^^^^^^^^
File "D:\OneDrive - University of Surrey\ai4battery_uos_whu\codes\ai4battery\pybamm\solvers\idaklu_solver.py", line 116, in init
raise ImportError("KLU is not installed")
ImportError: KLU is not installed
I Install KLU by using pip and it says the install is successful but the issue is still here.
how should I do to solve it ?
many thanks
Beta Was this translation helpful? Give feedback.
All reactions