It seems you missed $ in front of $PETSC_DIR somewhere along the line. I 
suggest deleting the PETSc directory completely, recloning PETSc and follow the 
instructions at https://petsc.org/release/install/ 
<https://petsc.org/release/install/> very careful to insure there are no typos 
or missing symbols.

  Barry


> On Nov 8, 2021, at 9:51 PM, Yaswanth Narayana <ynara...@buffalo.edu> wrote:
> 
> Hello
> 
> My name is Yaswanth Narayana. I am using PETSc as part of my course HPC1. 
> When trying to use make I am getting the following error. What should I do?
> 
> makefile:8: /lib/petsc/conf/rules: No such file or directory
> make: *** No rule to make target 'PETSC_DIR/lib/petsc/conf/rules'.  Stop.
> 
> I have tried changing the directory name and changed to the directory 
> containing files 'rules' and 'variables' but still receiving the same error. 
> Please help in this regard.
> 
> Thank you
> 
> Yours sincerely
> Yaswanth

Reply via email to