[petsc-users] Problem with using make

Barry Smith bsmith at petsc.dev
Mon Nov 8 21:16:42 CST 2021


  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 <ynarayan at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211108/4ee66088/attachment.html>


More information about the petsc-users mailing list