Re: [petsc-users] Using VecGetType() and VecNest

2022-08-20 Thread Stefano Zampini
The idea of the pod code was to create local vectors to perform local products and use mpi non blocking collectives . Not sure how to fix for the nest case. I'm on vacation now, I can take a look in a couple of weeks or so On Sat, Aug 20, 2022, 05:30 Barry Smith wrote: > > I am not sure why

Re: [petsc-users] Using VecGetType() and VecNest

2022-08-19 Thread Barry Smith
I am not sure why the code works this way creating these sequential work vectors. Since VecNest needs some information about the subvectors I don't think just setting these work vectors to nest vectors will work properly. I am cc:ing Stefano who wrote the code and can likely say

[petsc-users] Using VecGetType() and VecNest

2022-08-19 Thread Wells, David
Hello PETSc experts, I am using VecNest to solve a Stokes problem and I ran into an issue using the POD KSPGuess routines: [0]PETSC ERROR: - Error Message -- [0]PETSC ERROR: Unknown type. Check for miss-spelling or