dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #05496
Re: Compilation failed: --enable-debug --disable-petsc
On 9/17/07, Garth N. Wells <gnw20@xxxxxxxxx> wrote:
>
>
>
> logg@xxxxxxxxx wrote:
> > It's umpack4-dev version 4.4-3. I don
> >
> > dolfin@communalis:~$ ls -l /usr/include/umfpack/umfpack.h
> > -rw-r--r-- 1 root root 17480 2005-03-12 19:55
> /usr/include/umfpack/umfpack.h
> > dolfin@communalis:~$ dpkg -S /usr/include/umfpack/umfpack.h
> > libumfpack4-dev: /usr/include/umfpack/umfpack.h
> > dolfin@communalis:~$ dpkg -l libumfpack4-dev
> > Desired=Unknown/Install/Remove/Purge/Hold
> > | Status=Not/Installed/Config-files/Unpacked/Failed-config
> /Half-installed
> > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> > uppercase=bad)
> > ||/ Name Version Description
> > +++-==============-==============-==========================
> ==================
> > ii libumfpack4-de 4.4-3 set of routines for solving
> unsymmetric
> > spar
> > dolfin@communalis:~$
> >
> > It looks like uBlasLUSolver.cpp has been changed recently. Did you
> change
> > the way the defines for the UMFPACK include path is handled?
> >
>
> I didn't change the include files. I just started using the UMFPACK
> defines for the error messages that are returned by UMFPACK.
>
> Garth
>
> > /Anders
> >
> >
> >>
> >> DOLFIN wrote:
> >>> This is an automated message from the FEniCS compile bot.
> >>> Compilation failed with configure options --enable-debug
> >>> --disable-petsc.
> >>> Revision number and compilation log follow below.
> >>>
> >>> changeset: 3375:5b414d4a0d3a
> >>> tag: tip
> >>> user: "Garth N. Wells <gnw20@xxxxxxxxx>"
> >>> date: Fri Sep 14 16:08:52 2007 +0100
> >>> summary: Update ChangeLog.
> >>>
> >>>
> >>> [snip]
> >>> mv -f .deps/uBlasKrylovSolver.Tpo .deps/uBlasKrylovSolver.Plo
> >>> /bin/sh ../../../libtool --tag=CXX --mode=compile mpic++
> >>> -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\"
> >>> -DPACKAGE_VERSION=\"0.7.1\" -DPACKAGE_STRING=\"DOLFIN\ 0.7.1\"
> >>> -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\"
> -DSTDC_HEADERS=1
> >>> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> >>> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> >>> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1
> >>> -DHAVE_BOOST= -I. -I../../../src/kernel/common
> >>> -I../../../src/kernel/elements -I../../../src/kernel/fem
> >>> -I../../../src/kernel/function -I../../../src/kernel/graph
> >>> -I../../../src/kernel/io -I../../../src/kernel/la
> >>> -I../../../src/kernel/main -I../../../src/kernel/math
> >>> -I../../../src/kernel/mesh -I../../../src/kernel/mf
> >>> -I../../../src/kernel/nls -I../../../src/kernel/ode
> >>> -I../../../src/kernel/pde -I../../../src/kernel/quadrature
> >>> -I../../../src/kernel/parameter -I../../../src/kernel/log
> >>> -I../../../src/kernel/plot -I/usr/include -I/usr/include/lib
> >> xml2 -I/usr/include/python2.5
> >> -I/usr/lib/python2.5/site-packages/numpy/core/include -DDEBUG -g -O2
> >> -Wall -Werror -DNDEBUG -pedantic -ansi -Wno-long-long -std=c++98 -MT
> >> uBlasLUSolver.lo -MD -MP -MF .deps/uBlasLUSolver.Tpo -c -o
> >> uBlasLUSolver.lo uBlasLUSolver.cpp
> >>> mpic++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\"
> >>> -DPACKAGE_VERSION=\"0.7.1\" "-DPACKAGE_STRING=\"DOLFIN 0.7.1\""
> >>> -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\"
> >>> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> >>> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> >>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> >>> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= -I.
> >>> -I../../../src/kernel/common -I../../../src/kernel/elements
> >>> -I../../../src/kernel/fem -I../../../src/kernel/function
> >>> -I../../../src/kernel/graph -I../../../src/kernel/io
> >>> -I../../../src/kernel/la -I../../../src/kernel/main
> >>> -I../../../src/kernel/math -I../../../src/kernel/mesh
> >>> -I../../../src/kernel/mf -I../../../src/kernel/nls
> >>> -I../../../src/kernel/ode -I../../../src/kernel/pde
> >>> -I../../../src/kernel/quadrature -I../../../src/kernel/parameter
> >>> -I../../../src/kernel/log -I../../../src/kernel/plot -I/usr/include
> >>> -I/usr/include/libxml2 -I/usr/include/python2.5
> -I/usr/lib/python2.5/si
> >> te-packages/numpy/core/include -DDEBUG -g -O2 -Wall -Werror -DNDEBUG
> >> -pedantic -ansi -Wno-long-long -std=c++98 -MT uBlasLUSolver.lo -MD -MP
> -MF
> >> .deps/uBlasLUSolver.Tpo -c uBlasLUSolver.cpp -fPIC -DPIC -o
> >> .libs/uBlasLUSolver.o
> >>> uBlasLUSolver.cpp: In member function 'void
> >>> dolfin::uBlasLUSolver::check_status(long int, std::string) const':
> >>> uBlasLUSolver.cpp:198: error: 'UMFPACK_OK' was not declared in this
> >>> scope
> >>> uBlasLUSolver.cpp:204: error: 'UMFPACK_WARNING_singular_matrix' was
> not
> >>> declared in this scope
> >>> uBlasLUSolver.cpp:206: error: 'UMFPACK_ERROR_out_of_memory' was not
> >>> declared in this scope
> >>> uBlasLUSolver.cpp:208: error: 'UMFPACK_ERROR_invalid_system' was not
> >>> declared in this scope
> >>> uBlasLUSolver.cpp:210: error: 'UMFPACK_ERROR_invalid_Numeric_object'
> was
> >>> not declared in this scope
> >>> uBlasLUSolver.cpp:212: error: 'UMFPACK_ERROR_invalid_Symbolic_object'
> >>> was not declared in this scope
> >>> uBlasLUSolver.cpp:214: error: 'UMFPACK_OK' was not declared in this
> >>> scope
> >> These are defined in umfpack.h (in my version of UMFPACK), which is
> >> included in uBlasLUSolver.cpp. Anyone know which version of UMFPACK is
> >> installed on the compile bot?
> >>
> >> Garth
> >>
> >>
> >>
> >>> make[4]: *** [uBlasLUSolver.lo] Error 1
> >>> make[4]: Leaving directory
> >>> `/home/dolfin/tmp/cron/compilebot/dolfin/src/kernel/la'
> >>> make[3]: *** [all-recursive] Error 1
> >>> make[3]: Leaving directory
> >>> `/home/dolfin/tmp/cron/compilebot/dolfin/src/kernel/la'
> >>> make[2]: *** [all-recursive] Error 1
> >>> make[2]: Leaving directory
> >>> `/home/dolfin/tmp/cron/compilebot/dolfin/src/kernel'
> >>> make[1]: *** [all-recursive] Error 1
> >>> make[1]: Leaving directory `/home/dolfin/tmp/cron/compile
> bot/dolfin/src'
> >>> make: *** [all-recursive] Error 1
> >>> _______________________________________________
> >>> DOLFIN-dev mailing list
> >>> DOLFIN-dev@xxxxxxxxxx
> >>> http://www.fenics.org/mailman/listinfo/dolfin-dev
I checked out dolfin from hg now, and compiled against umfpack on the
fenics.org server just fine. But the following options must be set for
configure:
--with-umfpack-include=/usr/include/umfpack --with-umpfack-lib=/usr/lib
Btw, on the new build system I am implementing, umfpack is handled
differently (and better I hope) which should make this problem go away.
Actually, the new system is kind of finished, but I have not implemented
building of tests yet, and I don't like to submit anything until I know the
tests can be run...
best regards,
--
[simula.research laboratory]
Åsmund Ødegård
IT-Manager
phone: +4790069915
http://www.simula.no/
Follow ups
References