[torqueusers] Removing processes after a job is killed

Martin MOKREJŠ mmokrejs at ribosome.natur.cuni.cz
Wed Jul 2 12:29:01 MDT 2008


Hi,
  so is that the difference between qsig and qdel? ;-) I had a look the
manpages recently and I wondered what is really the effective difference.
Time to improve the manpages? ;-)
M.

Prakash Velayutham wrote:
> Hi,
> 
> I am sure you must have heard of mpiexec for Torque-based Task 
> Management. mpiexec (available from www.osc.edu/~pw/mpiexec/index.php) 
> basically does the cleanup for you when you do qdel or something like that.
> 
> Prakash
> 
> On Jul 2, 2008, at 1:42 PM, Craig Macdonald wrote:
> 
>> Firstly, limit each node to one job per user. Then you can use a kill 
>> in the epilogue. See below for cutdown example
>>
>> #!/bin/bash
>> jobid=$1
>> userid=$2
>>
>> ps -U $userid -o pid --no-heading | xargs -r kill -KILL
>>
>>
>> C


More information about the torqueusers mailing list