[petsc-dev] no DMCompositeGetAccessArrayRead ????
Mark Adams
mfadams at lbl.gov
Sun Mar 29 10:06:04 CDT 2015
I fixed this example and it shows the error now:
07:53 nid02816 master ~/petsc/src/snes/examples/tutorials$ make runex73f90t
PETSC_ARCH=arch-xc30-dbg-intel
[2]PETSC ERROR: [1]PETSC ERROR: [3]PETSC ERROR: --------------------- Error
Message
--------------------------------------------------------------
--------------------- Error Message
--------------------------------------------------------------
--------------------- Error Message
--------------------------------------------------------------
[2]PETSC ERROR: [1]PETSC ERROR: Object is in wrong
state
[3]PETSC ERROR: Object is in wrong
state
[2]PETSC ERROR: [1]PETSC ERROR: Object is in wrong
state
Vec is locked read only, argument #
1
Vec is locked read only, argument #
1
[3]PETSC ERROR: [1]PETSC ERROR: [2]PETSC ERROR: Vec is locked read only,
argument # 1
On Sun, Mar 29, 2015 at 10: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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150329/5159b95a/attachment.html>
More information about the petsc-dev
mailing list