<div class="gmail_quote">On Sun, Nov 13, 2011 at 23:39, Kyunghoon Lee <span dir="ltr">&lt;<a href="mailto:aeronova.mailing@gmail.com">aeronova.mailing@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":co">I got a petsc runtime error as follows:<br><br>[0]PETSC ERROR: --------------------- Error Message ------------------------------------<br>[0]PETSC ERROR: Object is in wrong state!<br>[0]PETSC ERROR: Not for unassembled matrix!<br>

[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29 13:45:54 CDT 2011 <br>[0]PETSC ERROR: See docs/changes/index.html for recent updates.<br>

[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.<br>[0]PETSC ERROR: See docs/index.html for manual pages.<br>[0]PETSC ERROR: ------------------------------------------------------------------------<br>
[0]PETSC ERROR: ./ex30-dbg on a arch-darw named <a href="http://ken-pc.sutd.edu.sg" target="_blank">ken-pc.sutd.edu.sg</a> by aeronova Mon Nov 14 13:33:08 2011<br>
[0]PETSC ERROR: Libraries linked from /Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p5/lib<br>[0]PETSC ERROR: Configure run at Mon Nov 14 12:55:15 2011<br>[0]PETSC ERROR: Configure options --prefix=/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p5 --download-mpich=1 --download-blacs=1 --download-parmetis=1 --download-scalapack=1 --download-mumps=1 --download-umfpack=1 --with-clanguage=C++<br>

[0]PETSC ERROR: ------------------------------------------------------------------------<br>[0]PETSC ERROR: MatGetRow() line 350 in /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/interface/matrix.c<br>[0]PETSC ERROR: MatAXPY_BasicWithPreallocation() line 98 in /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/utils/axpy.c<br>

[0]PETSC ERROR: MatAXPY_SeqAIJ() line 2718 in /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/impls/aij/seq/aij.c<br>[0]PETSC ERROR: MatAXPY() line 39 in /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/utils/axpy.c<br>

[0]PETSC ERROR: add() line 566 in &quot;unknowndirectory/&quot;/Users/aeronova/Development/local/lib64/libmesh/include/numerics/petsc_matrix.h<br></div></blockquote><div><br></div><div>You can define __INSDIR__=&quot;&quot; to make the error handling macro treat that part of the path as actually empty instead of using &quot;unknowndirectory&quot;.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":co">application called MPI_Abort(comm=0x84000000, 73) - process 0<br>[unset]: aborting job:<br>
application called MPI_Abort(comm=0x84000000, 73) - process 0<br>make[2]: *** [run] Error 73<br>make[1]: *** [run] Error 1<br>make: *** [run_examples] Error 2<br><br><br>I configured petsc with <br><br>./configure --prefix=/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p5 --download-mpich=1 --download-blacs=1 --download-parmetis=1 --download-scalapack=1 --download-mumps=1 --download-umfpack=1 --with-clanguage=C++ <br>

<br>In the error message, I&#39;m not sure why I got &quot;unknowndirectory/&quot; even though I specified the correct path.  I&#39;d appreciate it if someone could help me with this problem.  <br></div></blockquote></div>
<br><div>I&#39;m rebuilding libmesh to reproduce (with the brand-new example), but the problem is that the matrix has not been assembled before this function is called.</div>