Hello Daniel,

I am using the following code on my macbook.

mpirun -n 1 xterm -e lldb ./test : -n 1 ./test 

This is the debug information I get from lldb. Is it useful?



(lldb) run
Process 99662 launched: './test' (x86_64)
Process 99662 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS 
(code=1, address=0x51683d9c8)
    frame #0: 0x000000010232687b 
libdeal_II.8.5.0.dylib`dealii::Triangulation<2, 
2>::prepare_coarsening_and_refinement() + 523
libdeal_II.8.5.0.dylib`dealii::Triangulation<2, 
2>::prepare_coarsening_and_refinement:
->  0x10232687b <+523>: cmpl   $-0x1, (%rdi,%rsi,8)
    0x10232687f <+527>: movl   -0x10c(%rbp), %r8d
    0x102326886 <+534>: movl   %ebx, %r9d
    0x102326889 <+537>: jne    0x1023268d3               ; <+611>
(lldb) 




On Thursday, October 19, 2017 at 5:30:08 PM UTC-5, Daniel Arndt wrote:
>
> Yiyang,
>
> what do you see if you run this in a debugger on a interactive node, i.e. 
> something like
> mpiexec -np 2 xterm -e gdb ./your_program
> ? Since this is a segmentation fault I would expect that you should be 
> able to find the 
> exact failing statement this way without too much problems.
>
> I have never seen the warning before. Do you see the same for other code 
> that uses MPI?
>
> Best,
> Daniel
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to