<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello,<div><br></div><div>I am trying to compile a parallel program DENEME_TEMIZ_ENYENI_FINAL.c in PETSc. I wrote the following makefile but it says that there is nothing to do with the program:</div><div><br></div><div><div>export CLINKER = gcc</div><div><br></div><div>DENEME_TEMIZ_ENYENI_FINAL: DENEME_TEMIZ_ENYENI_FINAL.o chkopts</div><div><span style="white-space:pre-wrap">     </span>-${CLINKER} -o DENEME_TEMIZ_ENYENI_FINAL DENEME_TEMIZ_ENYENI_FINAL.o ${SLEPC_SYS_LIB}</div><div><span style="white-space:pre-wrap">    </span>${RM} DENEME_TEMIZ_ENYENI_FINAL.o</div><div>include ${SLEPC_DIR}/lib/slepc/conf/slepc_common</div></div><div><br></div><div>Then I tried to compile it via mpicc DENEME_TEMIZ_ENYENI_FINAL.c </div><div>but I got the error "petscmat.h: No such file or directory".</div><div><br></div><div>I wrote the following lines before compiling the program:</div><div>export PETSC_DIR=/home/slurm_local/e200781/petsc-3.10.3<br></div><div>export SLEPC_DIR=/home/slurm_local/e200781/petsc-3.10.3/arch-linux2-c-debug<br></div><div>export PETSC_ARCH=arch-linux2-c-debug<br></div><div><br></div><div>Why I cannot compile the program?</div><div><br></div><div>Thanks,</div><div><br></div><div>Eda</div><div><br></div></div></div></div></div></div></div>