Anders Logg wrote:
> On Tue, Apr 22, 2008 at 10:54:29AM +0200, Martin Sandve Alnæs wrote:
>> 2008/4/22, Ilmar Wilbers <[EMAIL PROTECTED]>:
>>>  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.
> 
> ok, then the answer is "Use the new build system".
> 

Or "Let's make a release".

Garth

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to