<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:"comic sans ms",sans-serif">Thanks!</div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif">I got the following values for the variables:</div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><div class="gmail_default">huq2090@huq2090-XPS-15-9570:~$ echo $PETSC_DIR </div><div class="gmail_default">/home/huq2090/petsc-3.10.2</div><div class="gmail_default">huq2090@huq2090-XPS-15-9570:~$ echo $PETSC_ARCH </div><div class="gmail_default">arch-linux2-c-debug</div><div class="gmail_default">huq2090@huq2090-XPS-15-9570:~$ </div><div><br></div><div>Does this look correct?</div><div><br></div><div>Again, I can run the code now. </div><div>For some reason I can't run last day.</div><div><br></div><div>Thanks.</div><div>Sincerely,</div><div>Huq</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 5, 2019 at 8:36 AM Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Fazlul Huq via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> writes:<br>
<br>
> Hello PETSc Developers,<br>
><br>
> may be this is a trivial question!<br>
><br>
> I usually run PETSc code from Home/petsc-3.10.2 directory. Last day I tried<br>
> to run the code from Documents/petsc directory but I can't. As far as I can<br>
> recall, I have installed PETSc in the Home directory. Is it the reason why<br>
> I can't run PETSc code from other directory? Shall I install PETSc in the<br>
> root directory?<br>
<br>
What do you mean by "run PETSc"? How did you link your executable?<br>
<br>
> Again, if I run command "which petsc" I don't get any echo on the terminal.<br>
<br>
That is searching for an executable named "petsc" in your PATH.<br>
<br>
echo $PATH<br>
<br>
to see the value of that variable.<br>
</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"><br><div><font face="comic sans ms, sans-serif">Fazlul Huq</font></div><div><font face="comic sans ms, sans-serif">Graduate Research Assistant</font></div><div><font face="comic sans ms, sans-serif">Department of Nuclear, Plasma & Radiological Engineering (NPRE)</font></div><div><font face="comic sans ms, sans-serif">University of Illinois at Urbana-Champaign (UIUC)</font></div><div><font face="comic sans ms, sans-serif">E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a></font></div></div></div></div></div></div></div>