How to set a breakpoint on a given rank? In the following example, I would like to set a breakpoint on rank0, but not on rank 1 and rank2. how do I do it? How do I switch between different rank? Thanks.
[linfa@ran testrun]$ mpirun -gdb -np 3 ../exec/intelmpitest WARNING: Can't read mpd.hosts for list of hosts, start only on current 0-2: (gdb)
I'm afraid this doesn't work for me because the code launches immediately and there is no chance to enter commands, and also CTRL-C doesn't work to halt the program. Any advice on how to get around this?