← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 4878: Use nested parameters in PETScPreconditioner.

 

On 7/24/10 12:00 AM, Kristian Ølgaard wrote:
> I had to compile PETSc with:
> 
> --download-hypre=1
> 
> to link against DOLFIN with this changeset. Otherwise I get this error:
> 
> mpic++ -o demo -Wl,-rpath,/home/oelgaard/local/lib/slepc-3.0.0-p7/linux-gnu-cxx-debug/lib
> -Wl,-rpath,/home/oelgaard/local/lib/petsc-3.0.0-p12/linux-gnu-cxx-debug/lib
> main.o -L/home/oelgaard/software/fenics/dolfin/local/lib
> -L/usr/lib/atlas
> -L/home/oelgaard/local/lib/slepc-3.0.0-p7/linux-gnu-cxx-debug/lib
> -L/home/oelgaard/local/lib/petsc-3.0.0-p12/linux-gnu-cxx-debug/lib
> -L/home/oelgaard/local/lib/scotch_5.1/lib -ldolfin
> -lboost_program_options -lboost_filesystem -lxml2 -larmadillo -lCGAL
> -ltrilinos_ml -ltrilinos_ifpack -ltrilinos_amesos -ltrilinos_aztecoo
> -ltrilinos_teuchos -ltrilinos_epetra -ltrilinos_epetraext
> -ltrilinos_galeri -lumfpack -lcholmod -lamd -lcamd -lcolamd -lccolamd
> -lslepc -lz -lscotch -lscotcherr -lptscotch -lptscotcherr -llapack
> -lblas -lpetscts -lpetscsnes -lpetscksp -lpetscdm -lpetscmat
> -lpetscvec -lpetsc -lX11
> /home/oelgaard/software/fenics/dolfin/local/lib/libdolfin.so:
> undefined reference to `PCHYPREGetType(_p_PC*, char const**)'
> collect2: ld returned 1 exit status

Hmm. What platform is this? I just tried it and I didn't need to add this.

Harish



Follow ups

References