<div dir="ltr">Dear Professor Roman,<div><br></div><div>Thank you for your answer.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Jose E. Roman <<a href="mailto:jroman@dsic.upv.es" target="_blank">jroman@dsic.upv.es</a>>, 8 Şub 2019 Cum, 16:26 tarihinde şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You need to create a makefile for your program or add rules to an existing makefile. See section 1.4.2 of SLEPc's user manual.<br>
Jose<br>
<br>
<br>
> El 8 feb 2019, a las 14:24, Eda Oktay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> escribió:<br>
> <br>
> Hello,<br>
> <br>
> 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:<br>
> <br>
> <br>
> <br>
> /home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/bin/mpicc eda.c -o eda<br>
> In file included from /home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/include/slepcst.h:16:0,<br>
> from /home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/include/slepceps.h:16,<br>
> from eda.c:17:<br>
> /home/edaoktay/petsc-3.10.3/arch-linux2-c-debug/include/slepcsys.h:34:22: fatal error: petscmat.h: No such file or directory<br>
> #include <petscmat.h><br>
> ^<br>
> compilation terminated.<br>
> <builtin>: recipe for target 'eda' failed<br>
> make: *** [eda] Error 1<br>
> <br>
> <br>
> <br>
> I didn't understand the error since ex11 was compiled successfully but eda wasn't. Can you help me?<br>
> <br>
> Best regards,<br>
> <br>
> Eda<br>
<br>
</blockquote></div></div>