Issue : transconjugate on nonsymmetric complex matrices broken afer NGSolve upgrade

Dear NGSolve developers,

I recently updated my version of NGSolve from 6.2.2506 to 6.2.2606 via pip on Windows. I am now encountering an error when running code that previously worked correctly.

NgException: MultTransAdd or MultTrans must be implemented for (maybe) not symmetric BaseMatrix, type=class `void __cdecl ExportNgla(class pybind11::module_ & __ptr64)‘::`2’::SparseFactorizationInterfaceTrampoline

The line involved looks like

sol.vec.data = -1 * Kinv.H * F

with Kinv = K.Inverse(inverse = “pardiso”), from a nonsymmetric complex problem.
Another issue is that I encounter something similar as DLL load failed while importing ngslib: A dynamic link library (DLL) initialization routine failed - #16 by matthiash when I try to downgrade ngsolve to what was working…
Any help would be appreciated!

Hello,

should be fixed in the latest pre-release.

The way we interface mkl-pardiso (and other direct solvers) has changed recently. MKL is only loaded when mkl-pardiso is required.

Thank you for the report!
Joachim

Dear Joachim, it is indeed working with the last prerelease. Thank you very much for having solved the issue so quickly!