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, 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
<http://libdeal_II.g.so>: undefined reference to
`KSPSetInitialGuessNonzero(_p_KSP*, PetscTruth)'
[...]

This is a frequently asked question. The answer is here:

http://dealii.sourceforge.net/index.php/Deal.II_Questions_and_Answers#I_can.27t_seem_to_link.2Frun_with_PETSc

W.
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to