[petsc-dev] no DMCompositeGetAccessArrayRead ????

Barry Smith bsmith at mcs.anl.gov
Sun Mar 29 20:39:08 CDT 2015


  Fixed in master  The example now works also

  Barry

  Note: this wasn't fixed early because the example was incorrectly not included in the nightly tests



> On Mar 29, 2015, at 9:42 AM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> I am getting an error because my TS formIFunction gets the sub vectors with:
> 
>   call DMCompositeGetAccessArray(dm,XX,ithree,PETSC_NULL_INTEGER,Xsub,ierr);CHKERRQ(ierr)
> 
> I get an error that XX is locked.  But there does not seem to be a DMCompositeGetAccessArrayRead
> 
> The one example that does this does not compile anymore apparently.
> 
> Mark




More information about the petsc-dev mailing list