New question #145683 on DOLFIN: https://answers.launchpad.net/dolfin/+question/145683
I'm trying to get fenics to work on ubuntu, (setting the extra sources, install, upgrade) but the first problem I'm trying to run is crashing. $ ffc -l dolfin -feliminate_zeros -fprecompute_basis_const -fprecompute_ip_const HyperElasticity.ufl $ cmake . $ make $ ./hyperelasticity-demo Solving linear variational problem hyperelasticity-demo: /build/buildd/dolfin-0.9.9/dolfin/la/PETScMatrix.cpp:102: virtual void dolfin::PETScMatrix::init(const dolfin::GenericSparsityPattern&): Assertion `sparsity_pattern.rank() == 2' failed. [sander-desktop:08015] *** Process received signal *** [sander-desktop:08015] Signal: Aborted (6) [sander-desktop:08015] Signal code: (-6) [sander-desktop:08015] [ 0] /lib/libpthread.so.0(+0xf8f0) [0x7f63792368f0] [sander-desktop:08015] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7f63761d4a75] [sander-desktop:08015] [ 2] /lib/libc.so.6(abort+0x180) [0x7f63761d85c0] [sander-desktop:08015] [ 3] /lib/libc.so.6(__assert_fail+0xf1) [0x7f63761cd941] [sander-desktop:08015] [ 4] /usr/lib/libdolfin.so.0(_ZN6dolfin11PETScMatrix4initERKNS_22GenericSparsityPatternE+0x3da) [0x7f638b7ba03a] [sander-desktop:08015] [ 5] /usr/lib/libdolfin.so.0(_ZN6dolfin14AssemblerTools18init_global_tensorERNS_13GenericTensorERKNS_4FormERNS_3UFCEbb+0x2dc) [0x7f638b715dac] [sander-desktop:08015] [ 6] /usr/lib/libdolfin.so.0(_ZN6dolfin9Assembler8assembleERNS_13GenericTensorERKNS_4FormEPKNS_12MeshFunctionIjEES9_S9_bb+0xc1) [0x7f638b73ecb1] [sander-desktop:08015] [ 7] /usr/lib/libdolfin.so.0(_ZN6dolfin18VariationalProblem12solve_linearERNS_8FunctionE+0x9d6) [0x7f638b72db36] [sander-desktop:08015] [ 8] ./hyperelasticity-demo(main+0x38d) [0x41bdfd] [sander-desktop:08015] [ 9] /lib/libc.so.6(__libc_start_main+0xfd) [0x7f63761bfc4d] [sander-desktop:08015] [10] ./hyperelasticity-demo() [0x41b329] [sander-desktop:08015] *** End of error message *** Is this a bug or did I miss something in the installation? The poisson demo does work. -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

