← Back to team overview

dolfin team mailing list archive

Re: UMFpack

 

> I'm trying to compile dolfin in a ubuntu 8.04.
> Scons doesn't recognise umfpack!
>
> I've got umfpack in libsuitesparse.
>
> sudo scons enableMpi=0 enablePetsc=1
> withUmfpackDir=/usr/include/suitesparse/
>
> I've got this messages:
> ------------------------------------------------------------
> scons: Reading SConscript files ...
> Using options from scons/options.cache
> Checking for numpy-1... yes
> Checking for scotch... no (pkg-config file not found)
>  Trying to generate pkg-config file for scotch... failed
> Checking for trilinos... no (pkg-config file not found)
>  Trying to generate pkg-config file for trilinos... failed
> Checking for ufc-1... yes
>
> Checking for umfpack... yes
>
> Checking for python-2... yes
> Checking for petsc... yes
> Checking for gts... yes
> Checking for boost... yes
> Checking for slepc... no (pkg-config file not found)
>  Trying to generate pkg-config file for slepc... failed
> Checking for libxml-2.0... yes
> Resolving compiler... done
>  Some tests failed using c++
>  Switching to use /usr/bin/mpicxx instead.
> Found optional package: petsc
> Found optional package: gts
> Unable to find optional package: slepc
> Unable to find optional package: scotch
>
> Unable to find optional package: umfpack
>
> Unable to find optional package: trilinos
> Enabling compilation of PyDOLFIN
> ------------------------------------------
> Changing withUmfpackDir option didn't help.
> Any ideas???

I think perhaps that some old pkg-config files for UMFPACK is lying around
and creating trouble. Run, e.g., 'locate umfpack.pc' and delete the files
that are displayed. Then run scons again. The umfpack.pc file will now be
regenerated and you should see something like this in the output:

Checking for umfpack... no (pkg-config file not found)
 Trying to generate pkg-config file for umfpack... done
 Found UMFPACK and generated pkg-config file in
 '/home/johannr/src/hg/dolfin/scons/pkgconfig'

Hopefully, this will resolve your problems with UMFPACK.

Johannes

> Thanks in advance.
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>




References