Registered Member
|
Hi,
I am using Eigen 3.3 on Ubuntu 12.10, gcc 4.6.3. I got SIGSEGV on line 63 of SparseDenseProduct.h. It looks like LhsInnterIterator points to an invalid location. I get the same error with optimizaitons turned on or off, OpenMP on or off. I don't know if this matters, but in my case this sparse-dense product originates from line 43 of ConjugateGradient.h. The sparse solve works fine when I switch to SimplicialLDLT. Please let me know if there are things I can do to help track the problem. Thanks, Jun Saito |
Moderator
|
Please, paste the relevant code snippet so that there is chance for us to reproduce the issue.
|
Registered Member
|
Luckily, I was able to reproduce the problem with a smaller code. Here it is:
https://github.com/dukecyto/admm-elasti ... teGradient Now I know that the problem happens with older Eigen (3.2.5) and on OSX El Capitan. I will keep on investigating the problem, but I would really appreciate it if you can look into it as well. |
Registered Member
|
Forget this. I just found out the problem.
I was expecting compute() in IterativeLinearSolvers to make a copy of the matrix like direct solvers do. I just needed to keep the copy of the matrix on my end. Sorry about the confusion. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]