For those who may be able to offer some advice, this is the full error 
message extracted from the discussion  here 
<https://github.com/dealii/dealii/issues/2670>:

**> Time step #1 <https://github.com/dealii/dealii/pull/1>; advancing to t 
= 0.2.



[0]PETSC ERROR: --------------------- Error Message 
--------------------------------------------------------------

[0]PETSC ERROR: Argument out of range

[0]PETSC ERROR: Inserting a new nonzero at global row/column (0, 0) into 
matrix

[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for 
trouble shooting.

[0]PETSC ERROR: Petsc Release Version 3.6.3, Dec, 03, 2015 

[0]PETSC ERROR: 
/home/ehsan/apps/candi/deal.II-toolchain/deal.II-v8.4.0/examples/step-25
 (mine)/step-25 on a arch-linux2-c-opt named 
levitasgrad01.me.iastate.edu by ehsan Mon Jun  6 13:06:02 2016

[0]PETSC ERROR: Configure options 
--prefix=/home/ehsan/apps/candi/deal.II-toolchain/petsc-3.6.3 
--with-debugging=0 --with-shared-libraries=1 --with-mpi=1 --with-x=0 
--download-hypre=1 CC=mpicc CXX=mpicxx FC=mpif90

[0]PETSC ERROR: #1 <https://github.com/dealii/dealii/pull/1> 
MatSetValues_MPIAIJ() line 582 in 
/home/ehsan/apps/candi/deal.II-toolchain-build/petsc-3.6.3/src/mat/impls/aij/mpi/mpiaij.c

[0]PETSC ERROR: #2 <https://github.com/dealii/dealii/pull/2> MatSetValues() 
line 1173 in 
/home/ehsan/apps/candi/deal.II-toolchain-build/petsc-3.6.3/src/mat/interface/matrix.c


+---------------------------------------------+------------+------------+

| Total wallclock time elapsed since start    |     0.732s |            |

|                                             |            |            |

| Section                         | no. calls |  wall time | % of total |

+---------------------------------+-----------+------------+------------+

| RHS                             |         1 |     0.122s |        17% |

| assembly                        |         1 |     0.113s |        15% |

| setup_GridGen                   |         1 |     0.353s |        48% |

+---------------------------------+-----------+------------+------------+


ERROR: Uncaught exception in MPI_InitFinalize on proc 0. Skipping 
MPI_Finalize() to avoid a deadlock.


------------------------------


Exception on processing: 


------------------------------


An error occurred in line <1424> of file  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

The name and call sequence of the exception was:

    ExcPETScError(ierr)

Additional Information: 


An error with error number 63 occurred while calling a PETSc function

Aborting!

----------------------------------------------------**




On Monday, June 6, 2016 at 4:14:12 PM UTC+2, Ehsan Esfahani wrote:
>
> Dear Deal-ii Users,
>
> Greetings. I am trying to change step-25 for MPI based on the method 
> described in step-40. Unfortunately, I got stuck with an error :( 
>
>>
>>
>>
>>
>>
>>
>>
>>
>> *An error occurred in line <1424> of file 
>> </home/ehsan/apps/candi/deal.II-toolchain/deal.II-v8.4.0/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 == 0The name and call sequence of the 
>> exception was:    ExcPETScError(ierr)Additional Information: An error with 
>> error number 63 occurred while calling a PETSc function*
>
> *I've attached the code* if you like to see a full description of the 
> error. I cannot understand why I'm getting this error because I'm just 
> trying to change step-25 based on step-40. It was thinking it would be easy 
> but it seems I was mistaken. Do you have any suggestion about this error? I 
> find out that I am inserting a new nonzero component in a sparse matrix and 
> it violates the sparsitypattern but I cannot find out where I'm doing this 
> because the code is aborting and I cannot debug it correctly in 
> Eclipse-Mars II.
> Also, is it really possible to change step-25 for MPI by using step-40 or 
> I'm completely on a wrong road?
> Thanks for your help in advance.
>
> Best Regards,
> Ehsan
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to