- Index
- » Users
- » schumacherlen
- » Profile
Posts
Posts
Hello
thanks for the quick answer.
I am currently working on implementing one (or more) CPU-parallelized solver into IDA to see if I can gain any speedups in circuit simulation. However, I am still working on getting test models large enough to receive speedups over KLU or LAPACK. I would first like to test the security and robustness of my implementation before I upload anything to GitHub.
Best Regards,
Lennart
Good day!
I am currently working on integrating an additional linear solver into OpenModelica/Ida. However, I have encountered a couple of problems doing so and I'd like to ask a question.
First of all, it seems to be that you have to integrate the linear solver into two distinct places. The integration into Sundials/Ida in OMCompiler/3rdParty/sundials/idas is quite straightforward and works fine. However, there is another module called "linearSystem" in OMCompiler/SimulationRuntime/c/simulation/solver, in which you basically implement every (linear and non-linear) solver again. Why is that? Why does one have to implement a linear solver twice (once in 3rdParty/sundials and once in SimulationRuntime)?
For instance, the linear solver KLU is integrated in 3rdParty/sundials/src/idas/idas_klu and in SimulationRuntime/c/simulation/solver/linearSolverKlu. It seems that both are called during runtime, but I want to ask you whether you know more about this topic.
Thanks
- Index
- » Users
- » schumacherlen
- » Profile