dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03267
[Fwd: Re: 0.6.2-1 compilation error]
This email didn't get through to the list for some reason.
Garth
-------- Original Message --------
Subject: Re: [DOLFIN-dev] 0.6.2-1 compilation error
Date: Thu, 07 Sep 2006 08:25:44 +0200
From: Garth N. Wells <g.n.wells@xxxxxxxxxx>
To: osman b <osman@xxxxxxxx>
CC: dolfin-dev@xxxxxxxxxx
References: <200609062232.18061.osman@xxxxxxxx>
osman b wrote:
> I installed 0.6.2-1. with plain ./configure (without petsc, umfpack, amd)
> installs ok. Demos work.
> when I configured with
> ./configure --with-petsc-dir=/home/osman/SRC/petsc-2.3.0 --enable-python
> --with-umfpack-include=/usr/local/include
> --with-umfpack-lib=/usr/local/lib/libumfpack.a
> --with-amd-lib=/usr/local/lib/libamd.a
>
Not related to the below error, but this should be
./configure --with-petsc-dir=/home/osman/SRC/petsc-2.3.0
--with-umfpack-include=/usr/local/include
--with-umfpack-lib=/usr/local/lib/
--with-amd-lib=/usr/local/lib/
Also, consider updating PETSc.
Are you using a 64-bit machine? The problem is the type of the integer
arrays which uBLAS uses for the compressed matrix strorage. Do you know
which versions of Boost and UMFPACK that you're using?
Garth
> I get a compilation error:
> ...
> g++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\"
> -DPACKAGE_VERSION=\"0.6.2-1\" "-DPACKAGE_STRING=\"DOLFIN 0.6.2-1\""
> -DPACKAGE_BUGREPORT=\"dolfin@xxxxxxxxxx\" -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_UMFPACK_H=1 -I. -I.
> -I../../../src/kernel/common -I../../../src/kernel/fem
> -I../../../src/kernel/form -I../../../src/kernel/function
> -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/usr/include/libxml2 -I/usr/local/include -g -O2 -DNDEBUG -pedantic
> -Wno-long-long -std=c++98 -fPIC -MT uBlasLUSolver.lo -MD -MP
> -MF .deps/uBlasLUSolver.Tpo -c uBlasLUSolver.cpp -fPIC -DPIC
> -o .libs/uBlasLUSolver.o
> uBlasLUSolver.cpp: In member function 'virtual dolfin::uint
> dolfin::uBlasLUSolver::solve(const
> dolfin::uBlasMatrix<dolfin::ublas_sparse_matrix>&, dolfin::uBlasVector&,
> const dolfin::uBlasVector&)':
> uBlasLUSolver.cpp:75: error: cannot convert 'const long unsigned int*' to
> 'const unsigned int*' in initialization
> uBlasLUSolver.cpp:76: error: cannot convert 'const long unsigned int*' to
> 'const unsigned int*' in initialization
> make[4]: *** [uBlasLUSolver.lo] Error 1
> make[4]: Leaving directory `/home/osman/SRC/dolfin-0.6.2-1/src/kernel/la'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/osman/SRC/dolfin-0.6.2-1/src/kernel/la'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/osman/SRC/dolfin-0.6.2-1/src/kernel'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/osman/SRC/dolfin-0.6.2-1/src'
> make: *** [all-recursive] Error 1
>
Follow ups