Markus,
> I have also an linking error concerning PETSC:
>
> /home2/mbuerg/deal.II/lib/libpetscall.a(xops.o): In function
> `PetscDrawDestroy_X(_p_PetscDraw*)':
> /home2/mbuerg/petsc-3.0.0-p8/src/sys/draw/impls/x/xops.c:502: undefined
> reference to `XFreeGC'
> /home2/mbuerg/petsc-3.0.0-p8/src/sys/draw/impls/x/xops.c:503: undefined
> reference to `XCloseDisplay'
I agree that it looks like these come from the X components of PETSc.
Though I have never seen this particular link error, or anything that
looks like this.
> PETSC configuration options are:
>
> ./config/configure.py --with-mpi-dir=/opt/mpich-gcc --with-clanguage=C++
If you compile PETsc without X, ie add --with-x=0 to your PETSc compile
flags, does the problem go away after recompiling deal.II??
I am curious as to why PETSc claims all is ok for you but deal.II
complains. As far as I know deal.II does not directly interface with
PETSc X options and either way this should make no difference.
Is PETSC_ARCH and PETSC_DIR set correctly in your ~/.bashrc (or
equivalent?). I think so, since the libraries are found....
Best,
Toby
-----
Toby D. Young
Assistant Professor
Philosophy-Physics
Polish Academy of Sciences
Warszawa, Polska
www: http://www.ippt.gov.pl/~tyoung
skype: stenografia
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii