[petsc-users] Compilation of program including slepc
Eda Oktay
eda.oktay at metu.edu.tr
Fri Feb 8 07:24:12 CST 2019
Hello,
I installed SLEPc during configuration of PETSc and now I am trying to
write a program in PETSc including SLEPc library. For start, I just
duplicated ex11 in EPS folder in
petsc-3.10.3/arch-linux2-c-debug/share/slepc/examples/src/eps/examples and
renamed as eda.c and tried to compile it by "make eda" and I got the
following error:
/home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/bin/mpicc eda.c -o eda
In file included from
/home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/include/slepcst.h:16:0,
from
/home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/include/slepceps.h:16,
from eda.c:17:
/home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/include/slepcsys.h:34:22:
fatal error: petscmat.h: No such file or directory
#include <petscmat.h>
^
compilation terminated.
<builtin>: recipe for target 'eda' failed
make: *** [eda] Error 1
I didn't understand the error since ex11 was compiled successfully but eda
wasn't. Can you help me?
Best regards,
Eda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190208/8bfc41e7/attachment.html>
More information about the petsc-users
mailing list