On 28 July 2010 13:42, Harish Narayanan <[email protected]> wrote:
> 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.

Garth fixed this issue in DOLFIN, I just notified the Dorsal list, so
we could add the dependency in case it was meant to be included on the
DOLFIN side. In short, you don't need to worry.

Kristian

> Harish
>

_______________________________________________
Mailing list: https://launchpad.net/~dorsal
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dorsal
More help   : https://help.launchpad.net/ListHelp

Reply via email to