[petsc-users] Running example problem
Matthew Knepley
knepley at gmail.com
Thu Jun 4 07:56:48 CDT 2020
On Thu, Jun 4, 2020 at 8:53 AM Fazlul Huq <huq2090 at gmail.com> wrote:
> Hello,
>
> I have a very preliminary question!
> I think I have installed PETSc correctly cause I got following on the
> terminal:
>
> Command:
> make PETSC_DIR=/home/huq2090/petsc-3.10.2 PETSC_ARCH=linux-gnu check
> Response:
> Running check examples to verify correct installation
> Using PETSC_DIR=/home/huq2090/petsc-3.10.2 and PETSC_ARCH=linux-gnu
> C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
> C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes
> Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
> Completed test examples
>
> Now, I am trying to run an example from the list of provided examples.
> Can you please help me out, how to run an example problem from the list of
> examples?
> I mean, how to make executable and run the executable?
>
cd $PETSC_DIR
cd src/snes/tutorials
make ex5
./ex5 -snes_monitor
Thanks,
Matt
> Thank you.
> Sincerely,
> Huq
> --
>
> Fazlul Huq
> Graduate Research Assistant
> Department of Nuclear, Plasma & Radiological Engineering (NPRE)
> University of Illinois at Urbana-Champaign (UIUC)
> E-mail: huq2090 at gmail.com
>
--
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/20200604/e60fe135/attachment-0001.html>
More information about the petsc-users
mailing list