[petsc-users] Problem with using make

Matthew Knepley knepley at gmail.com
Tue Nov 9 04:41:33 CST 2021


On Mon, Nov 8, 2021 at 9:57 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.
>

You do not have PETSC_DIR defined in your environment. You can check this
using

  echo $PETSC_DIR

It should print a directory name.

  Thanks,

     Prof. Knepley


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


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20211109/7d88f547/attachment.html>


More information about the petsc-users mailing list