[petsc-users] Installing PETSc

Fazlul Huq huq2090 at gmail.com
Tue Feb 5 10:36:57 CST 2019


Thanks!

I got the following values for the variables:

huq2090 at huq2090-XPS-15-9570:~$ echo $PETSC_DIR
/home/huq2090/petsc-3.10.2
huq2090 at huq2090-XPS-15-9570:~$ echo $PETSC_ARCH
arch-linux2-c-debug
huq2090 at huq2090-XPS-15-9570:~$

Does this look correct?

Again, I can run the code now.
For some reason I can't run last day.

Thanks.
Sincerely,
Huq

On Tue, Feb 5, 2019 at 8:36 AM Jed Brown <jed at jedbrown.org> wrote:

> Fazlul Huq via petsc-users <petsc-users at mcs.anl.gov> writes:
>
> > Hello PETSc Developers,
> >
> > may be this is a trivial question!
> >
> > I usually run PETSc code from Home/petsc-3.10.2 directory. Last day I
> tried
> > to run the code from Documents/petsc directory but I can't. As far as I
> can
> > recall, I have installed PETSc in the Home directory. Is it the reason
> why
> > I can't run PETSc code from other directory? Shall I install PETSc in the
> > root directory?
>
> What do you mean by "run PETSc"?  How did you link your executable?
>
> > Again, if I run command "which petsc" I don't get any echo on the
> terminal.
>
> That is searching for an executable named "petsc" in your PATH.
>
>   echo $PATH
>
> to see the value of that variable.
>


-- 

Fazlul Huq
Graduate Research Assistant
Department of Nuclear, Plasma & Radiological Engineering (NPRE)
University of Illinois at Urbana-Champaign (UIUC)
E-mail: huq2090 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190205/d47c0d1c/attachment.html>


More information about the petsc-users mailing list