Re: [OMPI users] get the process Id of mpirun

2009-11-14 Thread Ralph Castain
Not that I know of - mpirun may not even be on the same node! And we certainly don't pass that information to the remote processes. On Nov 14, 2009, at 8:05 AM, Kritiraj Sajadah wrote: > Dear All, > I am trying to get the process Id of Mpirun from within my MPI > application. When i

[OMPI users] get the process Id of mpirun

2009-11-14 Thread Kritiraj Sajadah
Dear All, I am trying to get the process Id of Mpirun from within my MPI application. When i use getpid() and getppid(), i get the PID of my application and the PID of "orted --daemonize -mca..." respectively. Is there a way to get the PID of the mpirun? In this case, it looks like it