[petsc-dev] Fwd: Suggestions for MatProductCreate()

2020-03-24 Thread h...@aspiritech.org
Lisandro, > As I said in previous emails, I'm not complaining about the API, I said it > was a welcome adition. All I'm asking is: > > 1) Fix the handling of reference counting. This is an implementation > detail, not really an API change. > I'm creating a branch from master and patch it with

Re: [petsc-dev] Configure --download-eigen hangs

2020-03-24 Thread Jacob Faibussowitsch
> the configure.log sent didn't list the build command used for eigen. Yeah it never got there. The log is the “complete” log from configure. After a while I always just ctrl-c the configure. I will try building from conf.eigen and see if it goes through. Best regards, Jacob Faibussowitsch

Re: [petsc-dev] Configure --download-eigen hangs

2020-03-24 Thread Satish Balay via petsc-dev
the configure.log sent didn't list the build command used for eigen. >>> Have to rebuild EIGEN, /Users/jacobfaibussowitsch/NoSync/petsc/64-arch-darwin-c-debug/externalpackages/git.eigen/eigen.petscconf !=

Re: [petsc-dev] Configure --download-eigen hangs

2020-03-24 Thread Pierre Jolivet
FWIW, I’ve had the same issue as Jacob for quite a while and I’ve since been using brew install eigen to bypass this. I’ve just checked again, and look at one of the process spawned during ./configure. That doesn’t look alright to me. Thanks, Pierre ps.log Description: Binary data > On 24

Re: [petsc-dev] Configure --download-eigen hangs

2020-03-24 Thread Satish Balay via petsc-dev
I just attempted a build on osx - and didn't see any such hang. I'm not sure why your build is hanging.. balay@kpro petsc % ./configure --download-eigen --download-pragmatic --download-metis --download-mpich Satish On Tue, 24 Mar 2020, Jacob Faibussowitsch wrote: > Hello all, > > Trying to

Re: [petsc-dev] [petsc-users] About the interpolation and restriction matrix for cell-centered multigrid.

2020-03-24 Thread Jed Brown
ex18 has the same issue, but this aspect can probably be fixed by setting DMDA_Q0. Patrick Sanan writes: > This sort of feedback is great in terms of learning what can move out of > "tutorials" and into "tests". > https://gitlab.com/petsc/petsc/-/merge_requests/2629 > > > Am Di., 24. März 2020

Re: [petsc-dev] Unions of IS and MatNest

2020-03-24 Thread Lawrence Mitchell
> On 24 Mar 2020, at 16:02, Pierre Jolivet wrote: > > Thanks! > >> On 24 Mar 2020, at 4:50 PM, Lawrence Mitchell wrote: >> >> >> >>> On 24 Mar 2020, at 15:39, Pierre Jolivet wrote: >>> >>> Hello Lawrence, >>> Any luck finding the appropriate patch? >> >> It's pretty old > > I can see

Re: [petsc-dev] Unions of IS and MatNest

2020-03-24 Thread Pierre Jolivet
Thanks! > On 24 Mar 2020, at 4:50 PM, Lawrence Mitchell wrote: > > > >> On 24 Mar 2020, at 15:39, Pierre Jolivet wrote: >> >> Hello Lawrence, >> Any luck finding the appropriate patch? > > It's pretty old I can see that, any reason why you didn’t try to get this into master? Do you think

Re: [petsc-dev] [petsc-users] About the interpolation and restriction matrix for cell-centered multigrid.

2020-03-24 Thread Patrick Sanan
This sort of feedback is great in terms of learning what can move out of "tutorials" and into "tests". https://gitlab.com/petsc/petsc/-/merge_requests/2629 Am Di., 24. März 2020 um 16:22 Uhr schrieb Jed Brown : > Mark Adams writes: > > > Good question. It does look like there is Q1: > > > >

Re: [petsc-dev] Unions of IS and MatNest

2020-03-24 Thread Lawrence Mitchell
> On 24 Mar 2020, at 15:39, Pierre Jolivet wrote: > > Hello Lawrence, > Any luck finding the appropriate patch? It's pretty old and doesn't apply cleanly, but see attached. We use a similar idea (working) in Firedrake (see

Re: [petsc-dev] Unions of IS and MatNest

2020-03-24 Thread Pierre Jolivet
Hello Lawrence, Any luck finding the appropriate patch? Thanks, Pierre > On 20 Mar 2020, at 10:53 PM, Lawrence Mitchell wrote: > > > On Fri, 20 Mar 2020 at 21:07, Pierre Jolivet > wrote: > > >> On 19 Mar 2020, at 7:56 PM, Matthew Knepley >

Re: [petsc-dev] Suggestions for MatProductCreate()

2020-03-24 Thread Lisandro Dalcin
On Tue, 24 Mar 2020 at 05:02, hzh...@mcs.anl.gov wrote: > Matt and Lisandro, > Let me explain a little more about new API for mat-mat operations, which > include MatMaMult (AB), MatPtAP (PtAP), MatMatMatMult (ABC), with a total 6 > matproduct types. > > 1) MatProduct is logically similar to