Deal all,
I have been having troubles with running my script with PETSc. I have adjusted my code for parallel computing based on the example from step-40. But I am getting the following error:
----------------------------------------------------
Exception on processing:
--------------------------------------------------------
An error occurred in line <1483> of file </home/mariia/dealii-9.3.1/include/deal.II/lac/petsc_matrix_base.h> in function
void dealii::PETScWrappers::MatrixBase::add(dealii::PETScWrappers::MatrixBase::size_type, dealii::PETScWrappers::MatrixBase::size_type, const size_type*, const PetscScalar*, bool, bool)
The violated condition was:
ierr == 0
Additional information:
deal.II encountered an error while calling a PETSc function.
The description of the error provided by PETSc is "Argument out of
range".
The numerical value of the original error code is 63.
--------------------------------------------------------
I was trying to understand, where an argument gets out of range, but I didn't have any success so far.
I created a very simple version of my script without any complications in it for an easier debugging, I attach it in this mail.
If you have any hints, I would be extremely grateful!
Thank you!
Regards,
Mariia