Actually that makes sense. I'll give that a try.<br><br><div class="gmail_quote">On Wed, Sep 7, 2011 at 1:59 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">ah - ok - perhaps you also need pcimpl.h, matimpl.h for this to work.<br>
<br>
Generally we don't access mat stuff directly from ksp.<br>
<div><div></div><div class="h5"><br>
satish<br>
<br>
On Wed, 7 Sep 2011, Daniel Lowell wrote:<br>
<br>
> yes<br>
><br>
> On Wed, Sep 7, 2011 at 1:46 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>> wrote:<br>
><br>
> > Do you include kspimpl.h in your code?<br>
> ><br>
> > #include <private/kspimpl.h><br>
> ><br>
> > Satish<br>
> ><br>
> ><br>
> > On Wed, 7 Sep 2011, Daniel Lowell wrote:<br>
> ><br>
> > > In my KSP implementation I have this in my function KSPSolve_BCGSGPU(KSP<br>
> > > ksp)<br>
> > ><br>
> > >  (*ksp->pc->mat->ops->mult)(ksp->pc->mat,P,T);//where P and T are type<br>
> > Vec<br>
> > ><br>
> > > I get this error from icc:<br>
> > > bcgsgpu.c:222: error: dereferencing pointer to incomplete type.<br>
> > ><br>
> > > Not sure what I'm doing wrong here.<br>
> > ><br>
> ><br>
> ><br>
><br>
<br>
</div></div></blockquote></div><br>