← Back to team overview

dolfin team mailing list archive

PetscFListFind error, gid and matrixmarket reference

 

Hi,

It appears that something is amiss when trying to compile DOLFIN with petsc-2.3.3-p2, and --enable-petsc --enable-pydolfin. When I try to compile to demos I get the following...

[jtostie@tostien demo]$ pwd
/home/jtostie/downloads/src/fenics/dolfin/src/demo
[jtostie@tostien demo]$ make
Making all in la/eigensolver
make[1]: Entering directory `/home/jtostie/downloads/src/fenics/dolfin/src/demo/la/eigensolver' `pkg-config --variable=compiler dolfin` -o demo main.o `pkg-config --cflags dolfin` `pkg-config --libs dolfin` /home/jtostie/builds/lib/libdolfin.so: undefined reference to `PetscFListFind(int, _n_PetscFList*, char const*, void (**)())'
collect2: ld returned 1 exit status
make[1]: *** [demo] Error 1
make[1]: Leaving directory `/home/jtostie/downloads/src/fenics/dolfin/src/demo/la/eigensolver'
make: *** [all-recursive] Error 1

Has anyone else seen this?

Next up, I have two other references to gid and matrixmarket in /src/pydolfin/dolfin_wrap.cpp that look like SWIG_Python_SetConstant(d, "File_matrixmarket",SWIG_From_int(static_cast< int >(dolfin::File::matrixmarket)));

I have just commented them out because apparently they don't exist anymore in dolfin::File.h/cpp (they almost certainly can be removed). Plus I haven't quite figured out hg yet beyond clone | pull;update.

-Jake



Follow ups