[mvapich-discuss] Cleanup of killed jobs with torque+mvapich2
Noam Bernstein
noam.bernstein at nrl.navy.mil
Tue Jul 31 09:43:31 EDT 2018
> On Jul 31, 2018, at 8:16 AM, Noam Bernstein <noam.bernstein at nrl.navy.mil> wrote:
>
>>
>
> If you have any suggestions for example epilogue scripts, I would be happy to try that, but I’m not sure how to identify the mpirun_rsh-started processes otherwise. I guess I could kill all jobs that don’t belong to root/etc.
I was actually able to cobble something together using /proc/<PID>/environ. I was hoping to use the content of the PBS_JOBID variable, but mpirun_rsh doesn’t export the environment to all the child processes by default. I can pass “-export”, but is there any way to have that done by default (something in /etc/mv2.conf, e.g.)?
Noam
More information about the mvapich-discuss
mailing list