Hi Wolfgang!

Thanks for your quick response! And IT WOOORKED! That's after I got my
LD_LIBRARY_PATH to point to the petsc and slepc library. Thanks man!


> I have trouble trying to link step-36 example. I have setup my petsc and
my
> slepc, compiled them with C++ compiler instead of the default C compiler,

How exactly did you do that?

I configured petsc as follows:
*./configure --with-clanguage=c++  --with-mpi=0 --disable-static
--enable-shared --with-fc=0 --download-c-blas-lapack=1*

configured slepc by
*./configure*

and configured dealii as follows:
*./configure --with-slepc=$SLEPC_DIR --with-petsc=$PETSC_DIR
--with-petsc-arch=$PETSC_ARCH  --disable-threads --with-umfpack*

On Tue, Aug 16, 2011 at 11:31 PM, Wolfgang Bangerth
<[email protected]>wrote:

>
> > I have trouble trying to link step-36 example. I have setup my petsc and
> my
> > slepc, compiled them with C++ compiler instead of the default C compiler,
>
> How exactly did you do that?
>
>
> > and also used the C Lapack and BLAS instead of the fortran LAPACK and
> BLAS.
> > slepc test ran successfully, and dealii compiled with no errors. But i
> > still get this error:
> >
> > /home/sherif/Science/deal.II/lib/libdeal_II.g.so: undefined reference to
> > `KSPSetInitialGuessNonzero(_p_KSP*, PetscTruth)'
> > [...]
>
> Does your LD_LIBRARY_PATH contain the path to the PETSc libraries?
>
> Best
>  W.
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: http://www.math.tamu.edu/~bangerth/
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to