Hi K, I just added ex30. It sounds like an extra matrix->close() is needed to avoid the runtime error for ex30 on your system. If you could run ex30 through the debugger and send over the stack trace that'd be helpful --- should be easy to figure out where to add the close().
David On 11/13/2011 09:00 PM, Kyunghoon Lee wrote: > Hi all, > > I configured libmesh with petsc-3.2-p5 and slepc-3.2-p1 with the following > options for a Mac 10.6.8: > > ./configure --prefix=/Users/aeronova/Development/local/lib64/libmesh > --enable-petsc --enable-slepc --enable-glpk > --with-glpk-include=/Users/aeronova/Development/local/lib64/glpk/glpk-4.45/include > --with-glpk-lib=/Users/aeronova/Development/local/lib64/glpk/glpk-4.45/lib > --enable-ifem --enable-eigen > --with-eigen-include=/Users/aeronova/Development/local/lib64/Eigen/include/eigen3 > > There were no errors for the libmesh build, but I got run time errors for > ex29 and ex30 when I tested the library. I'd appreciate if someone could > help me with the problems. > > K. Lee. > > ex29: > > Compiling C++ (in debug mode) ex29.C... > Linking ex29-dbg... > *************************************************************** > * Running Example ./ex29-dbg > *************************************************************** > > Triangulating an L-shaped domain with holes > Assertion `obj_procid != DofObject::invalid_processor_id' failed. > [0] > /Users/aeronova/Development/local/lib64/libmesh/include/parallel/parallel_ghost_sync.h, > line 249, compiled Nov 14 2011 at 09:37:23 > terminate called after throwing an instance of 'libMesh::LogicError' > what(): Error in libMesh internal logic > make[2]: *** [run] Abort trap > make[1]: *** [run] Error 1 > make: *** [run_examples] Error 2 > > ex30: > > [0]PETSC ERROR: --------------------- Error Message > ------------------------------------ > [0]PETSC ERROR: Object is in wrong state! > [0]PETSC ERROR: Not for unassembled matrix! > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29 13:45:54 > CDT 2011 > [0]PETSC ERROR: See docs/changes/index.html for recent updates. > [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting. > [0]PETSC ERROR: See docs/index.html for manual pages. > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: ./ex30-dbg on a arch-darw named ken-pc.sutd.edu.sg by > aeronova Mon Nov 14 09:52:54 2011 > [0]PETSC ERROR: Libraries linked from > /Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p5/lib > [0]PETSC ERROR: Configure run at Mon Nov 14 08:24:55 2011 > [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++ --with-fc=g95 > [0]PETSC ERROR: > ------------------------------------------------------------------------ > [0]PETSC ERROR: MatGetRow() line 350 in > /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/interface/matrix.c > [0]PETSC ERROR: MatAXPY_BasicWithPreallocation() line 98 in > /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/utils/axpy.c > [0]PETSC ERROR: MatAXPY_SeqAIJ() line 2718 in > /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/impls/aij/seq/aij.c > [0]PETSC ERROR: MatAXPY() line 39 in > /Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/utils/axpy.c > [0]PETSC ERROR: add() line 566 in > "unknowndirectory/"/Users/aeronova/Development/local/lib64/libmesh/include/numerics/petsc_matrix.h > application called MPI_Abort(comm=0x84000000, 73) - process 0 > [unset]: aborting job: > application called MPI_Abort(comm=0x84000000, 73) - process 0 > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Libmesh-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libmesh-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
