dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #08868
Re: more dolfin compile error
Shawn Walker wrote:
Hello, again. I have done some more modifications to my compile
scripting, etc... and it seems to be getting closer to working. The Scons
claims to see UMFPACK (I had to manually generate a umfpack.pc file), but
I get a compile error as if the compiler cannot find `umfpack.h' and other
things, which are definitely in the libumfpack.a file.
Here is the error:
---------------------------------------
$ scons withBoostDir=$BOOST_DIR withUmfpackDir=$UMFPACK_DIR
enableDemos=yes enableScotch=no enableTrilinos=no enableMpi=no
enablePetsc=no enableSlepc=no enableDebug=no
scons: Reading SConscript files ...
Using options from scons/options.cache
Checking for pkg-config... yes
Checking for numpy-1... yes
Checking for ufc-1... yes
Checking for umfpack... yes
Checking for python-2... yes
Checking for gts... yes
Checking for boost... yes
Checking for libxml-2.0... yes
Resolving compiler... done
Found optional package: umfpack
Found optional package: gts
Unable to find optional package: petsc
Unable to find optional package: slepc
Unable to find optional package: scotch
Unable to find optional package: trilinos
Enabling compilation of PyDOLFIN
scons: warning: The env.Copy() method is deprecated; use the env.Clone()
method instead.
File "/download/src/fenics/dolfin/dolfin/SConscript", line 107, in
<module>
scons: done reading SConscript files.
scons: Building targets ...
c++ -o dolfin/la/UmfpackLUSolver.os -c -Wall -pipe -DNDEBUG -O2
-DPACKAGE_VERSION=\"0.8.0\" -DHAS_UMFPACK=1 -DHAS_GTS=1 -I.
-I/download/src/boost_1_35_0 -I/usr/include/libxml2
-I/download/src/SuiteSparse/AMD/Include:/download/src/suitesparse/UFconfig:/download/src/suitesparse/UMFPACK/Include
I don't think that this syntax (...Include:/download/...) is correct.
What exactly haver you defined $UMFPACK_DIR to be? It should be
something like
/path/to/SuiteSparse
Garth
-I/build/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
dolfin/la/UmfpackLUSolver.cpp
dolfin/la/UmfpackLUSolver.cpp:21:21: umfpack.h: No such file or directory
dolfin/la/UmfpackLUSolver.cpp: In member function `void
dolfin::UmfpackLUSolver::Umfpack::clear()':
dolfin/la/UmfpackLUSolver.cpp:128: error: `umfpack_dl_free_symbolic'
undeclared (first use this function)
dolfin/la/UmfpackLUSolver.cpp:128: error: (Each undeclared identifier is
reported only once for each function it appears in.)
dolfin/la/UmfpackLUSolver.cpp:135: error: `umfpack_dl_free_numeric'
undeclared (first use this function)
dolfin/la/UmfpackLUSolver.cpp: In member function `void
dolfin::UmfpackLUSolver::Umfpack::initTranspose(const long int*, const
long int*, const double*, dolfin::uint, dolfin::uint)':
dolfin/la/UmfpackLUSolver.cpp:185: error: `umfpack_dl_transpose'
undeclared (first use this function)
............etc.............
---------------------------------------------------------
If there were no errors, run
scons install
......etc....
--------------------------------
Any clue as to what is causing this? Specifically say to use the
libumfpack.a file in umfpack.pc (not shown here).
- Shawn
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References