Fazlul Huq via petsc-users <petsc-users@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.