[petsc-users] Running example problem

Fazlul Huq huq2090 at gmail.com
Thu Jun 4 17:39:24 CDT 2020


"make all test" gives the attached summary.

Looks like only one problem failed.
All the others passed.

Thanks.
Sincerely,
Huq

On Thu, Jun 4, 2020 at 12:27 PM Satish Balay <balay at mcs.anl.gov> wrote:

> Should work
>
> If it fails -  send us corresponding configure.log
>
> Satish
>
> On Thu, 4 Jun 2020, Fazlul Huq wrote:
>
> > I think it's okay to have a separate version of hypre for PETSc.
> > So, what I understand is I have to do,
> >
> > ./configure --with-cc=gcc --with-cxx=g++ --with-fc=gfortran
> > --download-mpich --download-fblaslapack --download-hypre
> > make all test
> >
> > Is that all?
> > Am I missing something?
> >
> > Thank you.
> > Sincerely,
> > Huq
> >
> >
> > On Thu, Jun 4, 2020 at 11:04 AM Satish Balay <balay at mcs.anl.gov> wrote:
> >
> > > Its best to use --download-hypre with PETSc configure - it installs a
> > > compatible version of hypre.
> > >
> > > If you have a pre-installed hypre, you'l have to:
> > > - make sure its compatible version
> > > - its built with the same MPI, compilers etc as PETSc
> > > - you can use --with-hypre-dir option with PETSc configure
> > >
> > > Satish
> > >
> > > On Thu, 4 Jun 2020, Fazlul Huq wrote:
> > >
> > > > I have HYPRE installed in my machine.
> > > > Ithink, I need to compile PETSc with HYPRE.
> > > > I'm not clear about how to do that?
> > > >
> > > > Thank you.
> > > > Sincerely,
> > > > Huq
> > > >
> > > > On Thu, Jun 4, 2020 at 10:13 AM Matthew Knepley <knepley at gmail.com>
> > > wrote:
> > > >
> > > > > On Thu, Jun 4, 2020 at 10:28 AM Fazlul Huq <huq2090 at gmail.com>
> wrote:
> > > > >
> > > > >> Thank you.
> > > > >> Working now.
> > > > >>
> > > > >> I think to run the following command I need to configure PETSc
> with
> > > HYPRE.
> > > > >> mpiexec -np 1 ./poisson_m -n 100000 -pc_type hypre -pc_hypre_type
> > > > >> boomerang
> > > > >>
> > > > >> If I am right, can you please guide me how to configure with
> HYPRE and
> > > > >> run the above command?
> > > > >>
> > > > >
> > > > > --download-hypre
> > > > >
> > > > >   Thanks,
> > > > >
> > > > >      Matt
> > > > >
> > > > >
> > > > >> Thank you.
> > > > >> Sincerely,
> > > > >> Huq
> > > > >>
> > > > >> On Thu, Jun 4, 2020 at 8:34 AM Matthew Knepley <knepley at gmail.com
> >
> > > wrote:
> > > > >>
> > > > >>>
> > > > >>> On Thu, Jun 4, 2020 at 9:19 AM Dave May <dave.mayhem23 at gmail.com
> >
> > > wrote:
> > > > >>>
> > > > >>>>
> > > > >>>>
> > > > >>>> On Thu, 4 Jun 2020 at 14:17, Dave May <dave.mayhem23 at gmail.com>
> > > wrote:
> > > > >>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>> On Thu, 4 Jun 2020 at 14:15, Matthew Knepley <
> knepley at gmail.com>
> > > > >>>>> wrote:
> > > > >>>>>
> > > > >>>>>> On Thu, Jun 4, 2020 at 9:12 AM Fazlul Huq <huq2090 at gmail.com>
> > > wrote:
> > > > >>>>>>
> > > > >>>>>>> Somehow, make is not working.
> > > > >>>>>>> Please find the attachment herewith for the terminal readout.
> > > > >>>>>>>
> > > > >>>>>>
> > > > >>>>>> Since you built with PETSC_ARCH=linux-gnu, you need that in
> your
> > > > >>>>>> environment.
> > > > >>>>>>
> > > > >>>>>
> > > > >>>>> Or just do
> > > > >>>>>
> > > > >>>>> make ex5 PETSC_ARCH=linux-gnu
> > > > >>>>>
> > > > >>>>
> > > > >>>> sorry I hit send without checking your png)
> > > > >>>> The command should be
> > > > >>>>
> > > > >>>> make ex5 PETSC_ARCH=arch-linux2-c-debug
> > > > >>>>
> > > > >>>
> > > > >>> No, your first one was right.
> > > > >>>
> > > > >>>    Matt
> > > > >>>
> > > > >>>
> > > > >>>>
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>>
> > > > >>>>>>   Thanks,
> > > > >>>>>>
> > > > >>>>>>      Matt
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>>> Thank you.
> > > > >>>>>>>
> > > > >>>>>>> Sincerely,
> > > > >>>>>>> Huq
> > > > >>>>>>>
> > > > >>>>>>> On Thu, Jun 4, 2020 at 7:57 AM Matthew Knepley <
> > > knepley at gmail.com>
> > > > >>>>>>> wrote:
> > > > >>>>>>>
> > > > >>>>>>>> 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/>
> > > > >>>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>> --
> > > > >>>>>>>
> > > > >>>>>>> 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/>
> > > > >>>>>>
> > > > >>>>>
> > > > >>>
> > > > >>> --
> > > > >>> 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/>
> > > > >>>
> > > > >>
> > > > >>
> > > > >> --
> > > > >>
> > > > >> 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/>
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>

-- 

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200604/70e53034/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2020-06-04 17-37-51.png
Type: image/png
Size: 72097 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200604/70e53034/attachment-0001.png>


More information about the petsc-users mailing list