> 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