[petsc-users] Issue while running a PETSC example
Matthew Knepley
knepley at gmail.com
Thu Aug 5 08:59:15 CDT 2021
On Thu, Aug 5, 2021 at 9:56 AM SHIV SAGAR <s_sagar at ce.iitr.ac.in> wrote:
> Dear Sir,
> I would like to extend my gratitude towards you for creating PETSc
> libraries for efficient computation.
>
> I am a PhD student studying Brittle Fracture using Finite Elements and I
> have been introduced to the idea of efficient computation using PETSc
> libraries. Being a beginner to PETSc and the Linux OS, I was having
> difficulties in running PETSc example in
>
> ~/petsc/src/ksp/ksp/tutorials$ make ex1
>
> I get the following error:
>
> makefile:41: home/sagar/petsc/lib/petsc/conf/test: No such file or
> directory
> make: *** No rule to make target 'home/sagar/petsc/lib/petsc/conf/test'.
> Stop.
>
> I have set the environment variables PETSC_DIR = home/sagar/petsc
>
Hi Shiv,
I think the problem is that you need
PETSC_DIR = /home/sagar/petsc
Thanks,
Matt
> and PETSC_ARCH = arch-linux2-c-debug
>
> If you could help me with this, I would be grateful and could continue
> using the libraries for much complex programs.
>
> Thank You
> Yours Faithfully
> Shiv Sagar
> PhD, IIT Roorkee
>
>
>
--
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/20210805/0e71dd16/attachment.html>
More information about the petsc-users
mailing list