<div dir="ltr"><div dir="ltr">On Thu, Aug 5, 2021 at 9:56 AM SHIV SAGAR <<a href="mailto:s_sagar@ce.iitr.ac.in">s_sagar@ce.iitr.ac.in</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><font size="4">Dear Sir,</font><div><font size="4">I would like to extend my gratitude towards you for creating PETSc libraries for efficient computation.</font></div><div><div><font size="4"><br></font></div><div><font size="4">I am a PhD student studying Brittle Fracture using Finite Elements and I have been introduced to the idea of efficient computation using PETSc libraries. Being a beginner to PETSc and the Linux OS, I was having difficulties in running PETSc example in </font></div><div><font size="4"><br></font></div><div><font size="4">~/petsc/src/ksp/ksp/tutorials$ make ex1<br></font></div><div><font size="4"><br></font></div><div><font size="4">I get the following error:</font></div><div><font size="4"><br></font></div><div><font size="4">makefile:41: home/sagar/petsc/lib/petsc/conf/test: No such file or directory<br></font></div><div><font size="4">make: *** No rule to make target 'home/sagar/petsc/lib/petsc/conf/test'.  Stop.<br></font></div><div><font size="4"><br></font></div><div><font size="4">I have set the environment variables PETSC_DIR = home/sagar/petsc</font></div></div></div></blockquote><div><br></div><div>Hi Shiv,</div><div><br></div><div>I think the problem is that you need</div><div><br></div><div>  PETSC_DIR = /home/sagar/petsc</div><div><br></div><div>   Thanks,</div><div><br></div><div>      Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><font size="4">and PETSC_ARCH = arch-linux2-c-debug</font></div><div><font size="4"><br></font></div><div><font size="4">If you could help me with this, I would be grateful and could continue using the libraries for much complex programs.</font></div><div><font size="4"><br></font></div><div><font size="4">Thank You</font></div><div><font size="4">Yours Faithfully</font></div><div><font size="4">Shiv Sagar</font></div><div><font size="4">PhD, IIT Roorkee</font></div><div><br></div><div><br></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>