This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems with SuperLU 4.0?

Tags: None
(comma "," separated)
jlucas
Registered Member
Posts
3
Karma
0

Problems with SuperLU 4.0?

Wed Jan 13, 2010 4:11 pm
Hi all,

I've been using Eigen + SuperLU3.0 for some time but now I need to upgrade to SuperLU4.0 to avoid multithreading problems in old SuperLU versions.

When linking my code against SuperLU3.0 everything works fine, but when I link against SuperLU4.0 and execute any test, I'm always getting this error message:

** On entry to dgssvx, parameter number 13 had an illegal value

Have anyone seen this kind of error before?

Thanks!
phr
Registered Member
Posts
7
Karma
1

Re: Problems with SuperLU 4.0?

Wed Jan 13, 2010 4:56 pm
SuperLU 4.0 works fine for me using the development branch of Eigen. What test fails?
jlucas
Registered Member
Posts
3
Karma
0

Re: Problems with SuperLU 4.0?

Wed Jan 13, 2010 5:14 pm
First of all, thanks for answering so fast.

My code is:

Code: Select all
[...]

SparseMatrix<double >*  m = new SparseMatrix<double >(n,n);
VectorXd b(n);
VectorXd x(n);

// Fill matrix m and vector b.

SparseLU<SparseMatrix<double>, SuperLU > * sparseLU = new SparseLU<SparseMatrix<double>, SuperLU >(*m);
sparseLU->solve(b, &x);
[...]


And I get the error message in SparseLU<MatrixType,SuperLU>::compute(const MatrixType& a) method, when SuperLU_gssvx(...) method is called.

P.S: I ran this test using Eigen 2.0.11. I'll try with development branch.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: Problems with SuperLU 4.0?

Wed Jan 13, 2010 5:22 pm
yes, support for SuperLU 4 has been done in the devel branch only.
jlucas
Registered Member
Posts
3
Karma
0

Re: Problems with SuperLU 4.0?

Wed Jan 13, 2010 5:31 pm
Ok, now it works! The problem was the version of Eigen I picked.

Thanks a lot for your help!


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]