On Tue, 5 Feb 2019, Fazlul Huq via petsc-users wrote: > 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.
I don't know what you mean here - please copy/paste your attempt - and errors you've got. > 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? nope > Shall I install PETSc in the root directory? Once you have a working install of petsc library - you should be able to use it from anywhere in the file-system. > > Again, if I run command "which petsc" I don't get any echo on the terminal. There is no 'petsc' binary in petsc library. Satish