← Back to team overview

dolfin team mailing list archive

Re: -lamd error

 



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?

Garth

Maybe you do not have
the dev-packages? Try building dolfin with the argument enableUmfpack=0

ilmar
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References