Re: [petsc-users] Running example problem

2020-06-04 Thread Satish Balay via petsc-users
1. its best if you can send us text [i.e copy/paste from screen, or logfiles] - instead of screenshots 2. Normally - you need to do 'make check' - and not 'make test' 3. Since I don't have the log - I don't know why this test was run mat/tests/ex78_1 needs datafiles which are not part of the

Re: [petsc-users] Running example problem

2020-06-04 Thread Fazlul Huq
"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 wrote: > Should work > > If it fails - send us corresponding configure.log > > Satish > > On Thu, 4 Jun 2020, Fazlul Huq

Re: [petsc-users] Running example problem

2020-06-04 Thread Satish Balay via petsc-users
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 >

Re: [petsc-users] Running example problem

2020-06-04 Thread Fazlul Huq
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,

Re: [petsc-users] Running example problem

2020-06-04 Thread Satish Balay via petsc-users
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

Re: [petsc-users] Running example problem

2020-06-04 Thread Matthew Knepley
On Thu, Jun 4, 2020 at 11:56 AM 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? > 1) Make sure it is the correct version 2) --with-hypre-dir= Thanks, Matt > Thank you. > Sincerely, > Huq >

Re: [petsc-users] Running example problem

2020-06-04 Thread Fazlul Huq
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 wrote: > On Thu, Jun 4, 2020 at 10:28 AM Fazlul Huq wrote: > >> Thank you. >> Working now. >> >> I

Re: [petsc-users] Running example problem

2020-06-04 Thread Matthew Knepley
On Thu, Jun 4, 2020 at 10:28 AM Fazlul Huq 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 10 -pc_type hypre -pc_hypre_type boomerang > > If I am right, can you please guide me how to configure

Re: [petsc-users] Running example problem

2020-06-04 Thread Fazlul Huq
Thank you. Working now. I think to run the following command I need to configure PETSc with HYPRE. mpiexec -np 1 ./poisson_m -n 10 -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? Thank you. Sincerely, Huq

Re: [petsc-users] Running example problem

2020-06-04 Thread Matthew Knepley
On Thu, Jun 4, 2020 at 9:19 AM Dave May wrote: > > > On Thu, 4 Jun 2020 at 14:17, Dave May wrote: > >> >> >> On Thu, 4 Jun 2020 at 14:15, Matthew Knepley wrote: >> >>> On Thu, Jun 4, 2020 at 9:12 AM Fazlul Huq wrote: >>> Somehow, make is not working. Please find the attachment

Re: [petsc-users] Running example problem

2020-06-04 Thread Dave May
On Thu, 4 Jun 2020 at 14:17, Dave May wrote: > > > On Thu, 4 Jun 2020 at 14:15, Matthew Knepley wrote: > >> On Thu, Jun 4, 2020 at 9:12 AM Fazlul Huq wrote: >> >>> Somehow, make is not working. >>> Please find the attachment herewith for the terminal readout. >>> >> >> Since you built with

Re: [petsc-users] Running example problem

2020-06-04 Thread Dave May
On Thu, 4 Jun 2020 at 14:15, Matthew Knepley wrote: > On Thu, Jun 4, 2020 at 9:12 AM Fazlul Huq 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

Re: [petsc-users] Running example problem

2020-06-04 Thread Matthew Knepley
On Thu, Jun 4, 2020 at 9:12 AM Fazlul Huq 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. Thanks, Matt > Thank you. > > Sincerely, > Huq > > On Thu,

Re: [petsc-users] Running example problem

2020-06-04 Thread Fazlul Huq
Somehow, make is not working. Please find the attachment herewith for the terminal readout. Thank you. Sincerely, Huq On Thu, Jun 4, 2020 at 7:57 AM Matthew Knepley wrote: > On Thu, Jun 4, 2020 at 8:53 AM Fazlul Huq wrote: > >> Hello, >> >> I have a very preliminary question! >> I think I

Re: [petsc-users] Running example problem

2020-06-04 Thread Matthew Knepley
On Thu, Jun 4, 2020 at 8:53 AM Fazlul Huq 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

[petsc-users] Running example problem

2020-06-04 Thread Fazlul Huq
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