Registered Member
|
Hi everybody,
I want to use the unsupported UmfPack support module to solve sparse problems as found in FEM. Howerver, after installing umfpack and its dependencies, I have the following error:
I have any idea why this error arises. Dou you have any idea and solution to solve problem. Thank you for helping me. Greetings Maucejo |
Moderator
|
it seems you are trying to solve Ax=b with A and b double objects, and x a vector of complex...
|
Registered Member
|
You are right! However, when I correct this error, I obtained a new error message:
There is probably an error when linking umfpack to Eigen3, but I don't know where the problem is. Here is the code I use:
Thank you maucejo |
Moderator
|
you have to explicitly link your code against umfpack library. -lumfpack. Depending on how the umfpack lib has been generated you might also have to link against a blas library. For instance, you can compile Eigen's BLAS interface:
mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release path_to_eigen3_source cd blas make gives you a static (.a) and dynamic (.so) blas. |
Registered Member
|
Thank you! Now it works fine!
Here is the instruction I used to compile my program. It had to link UMFPACK AMD and BLAS.
I hope it will be useful for Eigen users ... |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar