Re: [petsc-users] Mat/Vec with empty ranks

2017-10-03 Thread Florian Lindner
Am 03.10.2017 um 16:05 schrieb Matthew Knepley: > On Mon, Oct 2, 2017 at 10:11 PM, Florian Lindner > wrote: > > > > Am 02.10.2017 um 21:04 schrieb Matthew Knepley: > > On Mon, Oct 2, 2017 at 6:21 AM, Florian Lindner

Re: [petsc-users] A number of questions about DMDA with SNES and Quasi-Newton methods

2017-10-03 Thread Jed Brown
Always always always send the whole error message. "zakaryah ." writes: > I tried -snes_compare_explicit, and got the following error: > > [0]PETSC ERROR: Invalid argument > > [0]PETSC ERROR: Matrix not generated from a DMDA > > What am I doing wrong? > > On Tue, Oct 3, 2017

Re: [petsc-users] Configure problem

2017-10-03 Thread Mark Adams
I think we figured it out. We did not have the modules set and got some local help. Thanks On Tue, Oct 3, 2017 at 5:00 PM, Satish Balay wrote: > On Tue, 3 Oct 2017, Mark Adams wrote: > > > > $ rpm -qf /usr/bin/printf > > > coreutils-8.27-16.fc27.x86_64 > > > > Your machine

Re: [petsc-users] Configure problem

2017-10-03 Thread Satish Balay
On Tue, 3 Oct 2017, Mark Adams wrote: > > $ rpm -qf /usr/bin/printf > > coreutils-8.27-16.fc27.x86_64 > > Your machine does not have this basic coreuitls package installed? > > > > > We are probably missing a module, 2.6.32-696.1.1.el6.x86_64 Its a RHEL6 (or clone) box - and this package

Re: [petsc-users] Configure problem

2017-10-03 Thread Mark Adams
On Tue, Oct 3, 2017 at 4:22 PM, Satish Balay wrote: > > > checking size of bool... 0./configure: line 12435: printf %s\n: command > not found > ./configure: line 12436: printf %s\n: command not found > configure: WARNING: The C++ compiler g++ cannot compile a program >

Re: [petsc-users] Configure problem

2017-10-03 Thread Satish Balay
> checking size of bool... 0./configure: line 12435: printf %s\n: command not found ./configure: line 12436: printf %s\n: command not found configure: WARNING: The C++ compiler g++ cannot compile a program containing the header - this may indicate a problem with the C++ installation.

Re: [petsc-users] Using factored complex matrices from MUMPS as a preconditioner in PETSC

2017-10-03 Thread Evan Um
Hi Hong, Thank you very much for your kind support. If I have any question, I will let you know. Regards, Evan On Tue, Oct 3, 2017 at 8:34 AM, Hong wrote: > Evan, > ICNTL(35) and CNTL(7) are added to petsc-mumps interface in branch > hzhang/update-mumps-5.1.1-cntl > > You

Re: [petsc-users] Using factored complex matrices from MUMPS as a preconditioner in PETSC

2017-10-03 Thread Hong
Evan, ICNTL(35) and CNTL(7) are added to petsc-mumps interface in branch hzhang/update-mumps-5.1.1-cntl You may give it a try. Once it passes our regression tests, I'll merge it to petsc master branch. Hong On Sun, Sep 24, 2017 at 8:08 PM, Hong wrote: > I'll check it. >

Re: [petsc-users] A number of questions about DMDA with SNES and Quasi-Newton methods

2017-10-03 Thread zakaryah .
I tried -snes_compare_explicit, and got the following error: [0]PETSC ERROR: Invalid argument [0]PETSC ERROR: Matrix not generated from a DMDA What am I doing wrong? On Tue, Oct 3, 2017 at 10:08 AM, Jed Brown wrote: > Barry Smith writes: > > >> On Oct

Re: [petsc-users] A number of questions about DMDA with SNES and Quasi-Newton methods

2017-10-03 Thread Jed Brown
Barry Smith writes: >> On Oct 3, 2017, at 5:54 AM, zakaryah . wrote: >> >> I'm still working on this. I've made some progress, and it looks like the >> issue is with the KSP, at least for now. The Jacobian may be >> ill-conditioned. Is it possible

Re: [petsc-users] Loading a PETsc matrix with matrix data in CSR format?

2017-10-03 Thread Matthew Knepley
On Tue, Oct 3, 2017 at 7:40 AM, Klaus Burkart wrote: > Hello, > > I am still struggling to load my matrix in a PETSc matrix. > > I tried the following code which is part of a c++ function which converts > the original matrix to CSR fromat and should load a PETSc matrix. > >

Re: [petsc-users] Loading a PETsc matrix with matrix data in CSR format?

2017-10-03 Thread Barry Smith
> On Oct 3, 2017, at 1:40 PM, Klaus Burkart wrote: > > Hello, > > I am still struggling to load my matrix in a PETSc matrix. > > I tried the following code which is part of a c++ function which converts the > original matrix to CSR fromat and should load a PETSc matrix.

Re: [petsc-users] A number of questions about DMDA with SNES and Quasi-Newton methods

2017-10-03 Thread Barry Smith
> On Oct 3, 2017, at 5:54 AM, zakaryah . wrote: > > I'm still working on this. I've made some progress, and it looks like the > issue is with the KSP, at least for now. The Jacobian may be > ill-conditioned. Is it possible to use -snes_test_display during an >

Re: [petsc-users] Loading a PETsc matrix with matrix data in CSR format?

2017-10-03 Thread Klaus Burkart
Hello, I am still struggling to load my matrix in a PETSc matrix. I tried the following code which is part of a c++ function which converts the original matrix to CSR fromat and should load a PETSc matrix.     Mat M;     MatSetFromOptions(M);     // fill PETSc matrix    

Re: [petsc-users] Mat/Vec with empty ranks

2017-10-03 Thread Matthew Knepley
On Mon, Oct 2, 2017 at 10:11 PM, Florian Lindner wrote: > > > Am 02.10.2017 um 21:04 schrieb Matthew Knepley: > > On Mon, Oct 2, 2017 at 6:21 AM, Florian Lindner > wrote: > > > > Hello, > > > > I have a matrix and

Re: [petsc-users] Issue of mg_coarse_ksp not converge

2017-10-03 Thread Wenbo Zhao
On Tue, Oct 3, 2017 at 1:49 AM, Mark Adams wrote: > Well that is strange, the PETSc tests work. > > Wenbo, could you please: > > > git clone -b gamg-fix-eig-err https://bitbucket.org/petsc/petsc petsc2 > > cd petsc2 > > and reconfigure, make, and then run your test without the >