[petsc-dev] build problem with suitesparse 4.2

Satish Balay balay at mcs.anl.gov
Wed Apr 24 17:28:51 CDT 2013


On Wed, 24 Apr 2013, Chaffra Affouda wrote:

> Hello,
> 
> I am getting the attached error when building with the latest suitesparse on
> ubuntu (suitesparse 4.2). I think umfpack examples must be linked with
> libcholmod.so but I might be mistaking. I am building on ubuntu precise


 --with-umfpack=1 --with-umfpack-include=/usr/include/suitesparse --with-umfpack-lib="[/usr/lib/libumfpack.so,/usr/lib/libamd.so]" --with-cholmod=1 --with-cholmod-include=/usr/include/suitesparse --with-cholmod-lib=/usr/lib/libcholmod.so 

>>
--with-umfpack-lib=['/usr/lib/libumfpack.so', '/usr/lib/libamd.so'] and
--with-umfpack-include=['/usr/include/suitesparse'] did not work
<<<

Possible ERROR while running linker: /usr/lib/libumfpack.so: undefined reference to `cholmod_l_print_common'
/usr/lib/libumfpack.so: undefined reference to `cholmod_l_analyze'
/usr/lib/libumfpack.so: undefined reference to `cholmod_l_finish'
/usr/lib/libumfpack.so: undefined reference to `cholmod_l_free_factor'


How about just using: --with-umfpack=1 --with-cholmod=1 [and not
specifying the includes/libs - and let configure figure this out from
its default configs]

Satish



More information about the petsc-dev mailing list