Registered Member
|
I am trying to compile a program which uses some UMFPACK functions from Eigen. I built and installed Eigen, then did
cd blas; make; make install and cd lapack; make make install Then I tried to build my project linking to nothing, and got: In function `Eigen::umfpack_free_numeric(void**, double)': undefined reference to `umfpack_di_free_numeric'. When I link to 'umfpack', I then get: /home/ddoria/bin/lib/libeigen_blas.so eigen_lapack libumfpack.a(umf_i_free.: In function `umf_i_free': umf_free.c:(.text+0xb): undefined reference to `amd_free'. I then tried linking to umfpack and eigen_blas, but I get the same error. I even then linked to everything I could find: camd ccolamd ldl cholmod ufconfig rbio spqr klu umfpack amd btf colamd cxsparse eigen_blas but now I get libumfpack.a(umf_i_cholmod.: In function `umf_i_cholmod': umf_cholmod.c:(.text+0x98): undefined reference to `cholmod_start' Any suggestions of what the missing library is? Thanks, David |
Moderator
|
read the umfpack manual! anyway, the following libs should be enough:
umfpack amd eigen_blas eigen_lapack |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]