-
Notifications
You must be signed in to change notification settings - Fork 349
Description
I am experiencing this bug while running a flow simulation, where I use numba to accelerate the solution of some subsystems of the global problem.
I was not able to pinpoint exactly when the problem occurs, and how, because it occurs after running the simulation for days and the nature of the problem makes it practically impossible to debug.
The code is very extensive and I cannot tailor an example reproducing it, but I can provide an entry point:
https://github.com/pmgbergen/porepy/blob/cold_co2_injection/src/porepy/examples/cold_co2_injection/run_md.py
And an entry point to the eagerly NJIT compiled framework:
https://github.com/pmgbergen/porepy/blob/02b2e954d2b217a44770e778e0a295aaef9cf484/src/porepy/compositional/compiled_flash/uniflash.py#L219
If I can assist anyhow further to pinpoint the exact cause of the issue, please let me know.
For now, I would kindly ask for
- the potential causes of this error,
- Pitfalls/ possibilities for users to create memory leaks when using (eager) NJIT.
With this information I may be able to narrow down the issue further.
numba v0.62.1
llvmlite v0.45.1