set follow-fork-mode child (should do the trick).
>
> For more info: http://sourceware.org/gdb/onlinedocs/gdb/Forks.html
>
> George.
>
> On Feb 22, 2013, at 19:55 , Geoffrey Irving <irv...@naml.us> wrote:
>
>> No luck with gdb 7.5.1. I can get it to run, but
, Geoffrey Irving <irv...@naml.us> wrote:
> No, I don't really have any idea what it's doing. You have to add
> manual sleeps and attach another instance of gdb if you want to step
> through the child, since I also can't get follow-fork-mode child to
> work. I only tried that once,
My guess is
> that the I/O is being lost for some reason.
>
> On Feb 21, 2013, at 4:09 PM, Geoffrey Irving <irv...@naml.us> wrote:
>
>> Actually, I don't see it printing "We're an MPI program!" under gdb,
>> which means it isn't working.
>>
>> Geof
"...Reading symbols for shared
> libraries ... done
>
> (gdb) r
> Starting program: /Volumes/RHCHD/rhc/openmpi/v1.6/fork-bug
> Reading symbols for shared libraries ++. done
> child status = 0
>
> Program exited normally.
> (gdb)
>
>
t; 1.6.4 in case it's a bug in 1.6.0
>
>
> On Feb 21, 2013, at 3:18 PM, Geoffrey Irving <irv...@naml.us> wrote:
>
>> The attached program illustrates the problem. It forks, and the child
>> calls MPI_Init. This works fine unless I'm inside gdb. Inside gdb,
>> MPI_In
The attached program illustrates the problem. It forks, and the child
calls MPI_Init. This works fine unless I'm inside gdb. Inside gdb,
MPI_Init silently crashes.
I'm using OpenMPI 1.6.0 on Mac 10.8.2. I'm running the program
directly, not through mpirun.
Any ideas what might be wrong?
Hello,
Is it possible to efficiently poll for both incoming messages and
request completion using only one thread? As far as I know, busy
waiting with alternate MPI_Iprobe and MPI_Testsome calls is the only
way to do this. Is that approach dangerous to do performance-wise?
Background: my
Hello,
LAM had a preprocessor symbol LAM_VERSION giving its version. Open MPI
appears to have this only in Fortran. It would be great if you could
add the version symbols in a C++ include file. This is useful since it
allows me to check whether the installed version of open mpi is the same
as