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 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 is the grandparent of the application.
> Thank you
> users mailing list