Dear firedrake devs After upgrading my workstation to Ubuntu Xenial, and rebuilding firedrake from scratch I get several segfaults in the running of firedrake tests. The ones I've seen so far were segfaulting in petsc: kernel -> MatSetValuesLocal() -> ISLocalToGlobalMappingApply() If I switch on the debug PyOP2 option and run it in gdb, it seems the values passed to MatSetValuesLocal are all sensible. Unfortunately if I rebuild firedrake with a debugging-petsc the tests all pass (i.e. the segfault goes away). Any further hints how to debug this? Cheers Stephan
On 27/07/16 11:54, Stephan Kramer wrote:
Dear firedrake devs
After upgrading my workstation to Ubuntu Xenial, and rebuilding firedrake from scratch I get several segfaults in the running of firedrake tests. The ones I've seen so far were segfaulting in petsc:
kernel -> MatSetValuesLocal() -> ISLocalToGlobalMappingApply()
If I switch on the debug PyOP2 option and run it in gdb, it seems the values passed to MatSetValuesLocal are all sensible. Unfortunately if I rebuild firedrake with a debugging-petsc the tests all pass (i.e. the segfault goes away). Any further hints how to debug this?
Can you run the failing test under valgrind? Lawrence
Ah sorry, figured it out: I had PETSC_DIR set and it was picking up the wrong libpetsc.so. It's the fluidity binary package that sets PETSC_DIR somewhere in /etc/profile :-/ Sorry for the noise Cheers Stephan On 27/07/16 12:05, Lawrence Mitchell wrote:
On 27/07/16 11:54, Stephan Kramer wrote:
Dear firedrake devs
After upgrading my workstation to Ubuntu Xenial, and rebuilding firedrake from scratch I get several segfaults in the running of firedrake tests. The ones I've seen so far were segfaulting in petsc:
kernel -> MatSetValuesLocal() -> ISLocalToGlobalMappingApply()
If I switch on the debug PyOP2 option and run it in gdb, it seems the values passed to MatSetValuesLocal are all sensible. Unfortunately if I rebuild firedrake with a debugging-petsc the tests all pass (i.e. the segfault goes away). Any further hints how to debug this?
Can you run the failing test under valgrind?
Lawrence
_______________________________________________ firedrake mailing list firedrake@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/firedrake
participants (2)
- 
                
                Lawrence Mitchell
- 
                
                Stephan Kramer