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
Regards,
Raj
|