Re: [petsc-users] Shell matrix MatCreateVecs

2017-08-25 Thread Barry Smith
Fixed in master, it is MATOP_CREATE_VECS > On Aug 24, 2017, at 1:51 PM, Greg Meyer wrote: > > Hi, > > I have written a shell matrix for non-standard vectors (CUDA to be specific) > that works great. MatMult and MatNorm perform as they should. However, when I > try

Re: [petsc-users] Shell matrix MatCreateVecs

2017-08-25 Thread Jed Brown
Barry Smith writes: >> On Aug 24, 2017, at 7:42 PM, Jed Brown wrote: >> >> "Jose E. Roman" writes: >> El 24 ago 2017, a las 22:51, Greg Meyer escribió: Hi, I have written a shell

Re: [petsc-users] Shell matrix MatCreateVecs

2017-08-24 Thread Barry Smith
> On Aug 24, 2017, at 7:42 PM, Jed Brown wrote: > > "Jose E. Roman" writes: > >>> El 24 ago 2017, a las 22:51, Greg Meyer escribió: >>> >>> Hi, >>> >>> I have written a shell matrix for non-standard vectors (CUDA to be >>>

Re: [petsc-users] Shell matrix MatCreateVecs

2017-08-24 Thread Jed Brown
"Jose E. Roman" writes: >> El 24 ago 2017, a las 22:51, Greg Meyer escribió: >> >> Hi, >> >> I have written a shell matrix for non-standard vectors (CUDA to be specific) >> that works great. MatMult and MatNorm perform as they should. However,

Re: [petsc-users] Shell matrix MatCreateVecs

2017-08-24 Thread Jose E. Roman
> El 24 ago 2017, a las 22:51, Greg Meyer escribió: > > Hi, > > I have written a shell matrix for non-standard vectors (CUDA to be specific) > that works great. MatMult and MatNorm perform as they should. However, when I > try to use it in a SLEPc algorithm, it

[petsc-users] Shell matrix MatCreateVecs

2017-08-24 Thread Greg Meyer
Hi, I have written a shell matrix for non-standard vectors (CUDA to be specific) that works great. MatMult and MatNorm perform as they should. However, when I try to use it in a SLEPc algorithm, it breaks because MatCreateVecs yields standard vectors even if I set "-vec_type cuda". Looking