dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07509
Re: -lamd error
2008/4/22, Ilmar Wilbers <ilmarw@xxxxxxxxx>:
>
> Garth N. Wells wrote:
> >
> >
> > Ilmar Wilbers wrote:
> >> Anders Logg wrote:
> >>> On Mon, Apr 21, 2008 at 10:14:51PM -0400, Hatef Monajemi wrote:
> >>>
> >>>> Hello
> >>>> I am trying to install FEniCS on some new machines. I follow the
> >>>> instructions mentioned in the Fenics document for installation,
> >>>> However when I try to run a demo, there is an error in "make" step.
> >>>> the error is as follows:
> >>>>
> >>>> ---------------------------------------------------------------
> >>>> rm -f *.o core *.core main.o demo
> >>>> `pkg-config --variable=compiler dolfin` `pkg-config --cflags
> >>>> dolfin` -c main.cpp
> >>>> `pkg-config --variable=compiler dolfin` -o demo main.o `pkg-config
> >>>> --cflags dolfin` `pkg-config --libs dolfin`
> >>>> /usr/bin/ld: cannot find -lamd
> >>>> collect2: ld returned 1 exit status
> >>>> make: *** [demo] Error 1
> >>>> ----------------------------------------------------------------
> >>>>
> >>>> does anyone know how I can get rid of this -lamd error???
> >>>>
> >>> Do you have libamd on the system? Try with
> >>>
> >>> locate libamd
> >>>
> >>>
> >> libamd should be installed as part of umfpack. For Ubuntu, libamd.so
> >> comes with libsuitesparse-dev and libufsparse-dev.
> >
> > Is limamd not tested for by umfpack.py?
> >
>
> Yes, it is. Both the location of the header files and of the library
> files are located. I get an error using scons when the dev-packages are
> not installed.
>
> Maybe Hatef could run 'python umfpack.py' in
> dolfin/scons/simula-scons/simula_scons/pkgconfiggenerators, and include
> the output (if any error), as well as the file umfpack.pc that will be
> generated in the same folder.
>
> Also, the file dolfin/scons/simula_scons.log could be of interest. It is
> generated when using scons in the main dolfin folder.
>
>
> ilmar
He said he's using make, not the new scons build system.
--
Martin
Follow ups
References