Closed AlbertoCasasOrtiz closed 2 years ago
After looking for a solution, looks like it depends on the SO and Intel MKL.
Solving a big matrix (60000x60000) consumes too much memory. There are two cases here:
Sometimes, after analysing the matrix, Intel MKL returns an error that can be captured.
If during analysis or factorisation it reaches a critically low amount of memory, the SO kills the application, and this cannot be captured.
This can be confirmed by consulting the Linux Kernel Log, using dmesg:
dmesg | grep "Out"
Out of memory: Killed process 3701 (wfes-ui)
I am capturing the first case, but the second case may cannot be captured.
Tried:
Overwrite terminate function.
Signal handling.
Try-catch.
For big matrices, the system gets out of RAM and the application crashes without printing any error.
Tried to capture the exception without success.
Switched to Pardiso OOC, looks like performs better and sometimes it captures the exception.