← Back to team overview

dolfin team mailing list archive

Re: request for assistance with Debian package

 



On Sat, 16 Jul 2005, Faheem Mitha wrote:


Hi,

Sorry about the slow response.

I've now got preliminary packages for dolfin at

deb http://aurora.dulci.biostat.duke.edu/~faheem/debian/ ./
deb-src http://aurora.dulci.biostat.duke.edu/~faheem/debian/ ./

apt-get source dolfin
apt-get install libdolfin libdolfin-dev

Please test them out.

The static libraries are in libdolfin, probably in violation of Debian policy, with headers in libdolfin-dev as normal. However, it seems possible these libraries are needed at runtime. See below.

These packages still cannot be used to successfully compile the demos in src/demos. The problem is that not all the header file are installed by make install.

I am currently testing this, and see at the moment that (at least) dolfin_navierstokes.h, dolfin/NSEMomentum.h, dolfin/NSEContinuity.h, dolfin/NSESolver.h are not installed.

Having added in all headers in src/modules/navierstokes/dolfin I now get a truckload of MPI errors. Incomplete sample below, to give you an idea.

Please take a look at my packages and tell me what I'm doing wrong. Thanks.

                                                                   Faheem.

faheem /mnt/exp/usr/local/src/debrepos/dolfin/dolfin-0.5.7/src/demo/fem>make
`dolfin-config --compiler` `dolfin-config --cflags` -c main.cpp
`dolfin-config --compiler` -o dolfin-fem main.o `dolfin-config --cflags` `dolfin-config --libs` main.o(.gnu.linkonce.r._ZTVN3MPI2OpE+0x10): undefined reference to `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&), bool)' main.o(.gnu.linkonce.r._ZTVN3MPI2OpE+0x14): undefined reference to `MPI::Op::Free()' main.o(.gnu.linkonce.t._ZNK4PMPI8Datatype15Create_hindexedEiPKiPKl+0x30): In function `PMPI::Datatype::Create_hindexed(int, int const*, long const*) const':
: undefined reference to `MPI_Type_create_hindexed'
main.o(.gnu.linkonce.t._ZNK4PMPI8Datatype14Create_hvectorEiil+0x30): In function `PMPI::Datatype::Create_hvector(int, int, long)const':
: undefined reference to `MPI_Type_create_hvector'
main.o(.gnu.linkonce.t._ZNK4PMPI8Datatype10Get_extentERlS1_+0x1e): In function `PMPI::Datatype::Get_extent(long&, long&) const':
: undefined reference to `MPI_Type_get_extent'
main.o(.gnu.linkonce.t._ZNK4PMPI8Datatype3DupEv+0x1b): In function `PMPI::Datatype::Dup() const':
: undefined reference to `MPI_Type_dup'
main.o(.gnu.linkonce.t._ZN4PMPI8Datatype11Delete_attrEi+0x17): In function `PMPI::Datatype::Delete_attr(int)':
: undefined reference to `MPI_Type_delete_attr'
main.o(.gnu.linkonce.t._ZNK4PMPI8Datatype8Get_attrEiPv+0x25): In function `PMPI::Datatype::Get_attr(int, void*) const':
: undefined reference to `MPI_Type_get_attr'
main.o(.gnu.linkonce.t._ZNK4PMPI8Datatype8Get_nameEPcRi+0x1e): In function `PMPI::Datatype::Get_name(char*, int&) const':
: undefined reference to `MPI_Type_get_name'
main.o(.gnu.linkonce.t._ZN4PMPI8Datatype8Set_attrEiPKv+0x1e): In function `PMPI::Datatype::Set_attr(int, void const*)':
: undefined reference to `MPI_Type_set_attr'
main.o(.gnu.linkonce.t._ZN4PMPI8Datatype8Set_nameEPKc+0x17): In function `PMPI::Datatype::Set_name(char const*)':
: undefined reference to `MPI_Type_set_name'
main.o(.gnu.linkonce.t._ZN4PMPI4Comm4FreeEv+0x29): In function `PMPI::Comm::Free()':
: undefined reference to `PMPI::Comm::mpi_comm_map'
main.o(.gnu.linkonce.t._ZN4PMPI4Comm4FreeEv+0x41): In function `PMPI::Comm::Free()':
: undefined reference to `PMPI::Comm::mpi_comm_map'
main.o(.gnu.linkonce.t._ZN4PMPI4Comm4FreeEv+0x5e): In function `PMPI::Comm::Free()':
: undefined reference to `PMPI::Comm::mpi_comm_map'
main.o(.gnu.linkonce.t._ZN4PMPI4Comm10DisconnectEv+0x10): In function `PMPI::Comm::Disconnect()':
: undefined reference to `MPI_Comm_disconnect'
main.o(.gnu.linkonce.t._ZN4PMPI4Comm14Set_errhandlerERKNS_10ErrhandlerE+0x1e): In function `PMPI::Comm::Set_errhandler(PMPI::Errhandler const&)':
: undefined reference to `PMPI::Comm::mpi_err_map'
main.o(.gnu.linkonce.t._ZNK4PMPI4Comm8Set_attrEiPKv+0x78): In function `PMPI::Comm::Set_attr(int, void const*) const':
: undefined reference to `PMPI::Comm::mpi_comm_map'
main.o(.gnu.linkonce.t._ZNK4PMPI4Comm8Set_attrEiPKv+0xbc): In function `PMPI::Comm::Set_attr(int, void const*) const':
: undefined reference to `PMPI::Comm::mpi_comm_map'
main.o(.gnu.linkonce.t._ZNK4PMPI9Intracomm9AlltoallwEPKvPKiS4_PKNS_8DatatypeEPvS4_S4_S7_+0x4a): In function `PMPI::Intracomm::Alltoallw(void const*, int const*, int const*, PMPI::Datatype const*, void*, int const*, int const*, PMPI::Datatype const*) co



Follow ups

References