Skip to content

How to change the code implementation in pybammsolvers applied in PyBaMM #4916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Azure-Dreamer opened this issue Mar 14, 2025 · 0 comments

Comments

@Azure-Dreamer
Copy link

I would like to realize some changes to the IDAKLUSolver, and have successfully build it by

pip install .

as the introduction of pybammsolver introduction said.

But when I copied the generated idaklu.cpython-39-x86_64-linux-gnu.so file and covered the original one in the environment,

solver = pybamm.IDAKLUSolver()

raises

ImportError("KLU is not installed")
ImportError: KLU is not installed

I would like to ask what I should do to change the process of solver implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant