On Fri, Aug 26, 2011 at 01:59, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

>  ierr = MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY); CHKERRQ(ierr);
>

When you run in the debugger and break after it has obviously hung, are all
processes stopped at the same place? If you see an error condition, you can
run

CHKMEMQ;
MPI_Barrier(((PetscObject)A)->comm);
MatAssemblyBegin(A,MAT_FINAL_ASSEMBLY);
MatAssemblyEnd(A,MAT_FINAL_ASSEMBLY);

If it hangs, check where every process is stuck.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110826/efe47dbe/attachment.htm>

Reply via email to