An error occurred in line <941> of file </usr/src/dealii-v9.6.0/include/deal.II/lac/petsc_vector_base.h> in function
const dealii::PETScWrappers::internal::VectorReference& dealii::PETScWrappers::internal::VectorReference::operator+=(const PetscScalar&) const
The violated condition was:
!vector.has_ghost_elements()
Additional information:
You are trying an operation on a vector that is only allowed if the
vector has no ghost elements, but the vector you are operating on does
have ghost elements.
Specifically, there are two kinds of operations that are typically not
allowed on vectors with ghost elements. First, vectors with ghost
elements are read-only and cannot appear in operations that write into
these vectors. Second, reduction operations (such as computing the
norm of a vector, or taking dot products between vectors) are not
allowed to ensure that each vector element is counted only once (as
opposed to once for the owner of the element plus once for each
process on which the element is stored as a ghost copy).
I can send part of my code to find out which vector might be ghosted.
Thanks,
Md Mahmudul Islam
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/f27e9cb4-be79-429c-a98f-a059ca094114%40colostate.edu.
[0]PETSC ERROR: Argument out of range
[0]PETSC ERROR: Inserting a new nonzero at (6,7) in the matrix
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/7a7daa52-aa68-41ab-b14a-672109f76362%40colostate.edu.
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/a7f65996-fa32-49ba-9ae7-01c5c7b3d62a%40colostate.edu.