[Mauiusers] Re: [torqueusers] strange problem

Garrick Staples garrick at usc.edu
Fri Feb 18 02:35:47 MST 2005


On Fri, Feb 18, 2005 at 10:22:22AM +0100, Schulz, Henrik alleged:
> But not in the moment when the epilogue is executed!
> 
> -----Urspr?ngliche Nachricht-----
> 
> 
> You'll find the list of nodes in PBS_HOME/aux/$JOBID

Sure it is.  Here's how you can loop over it:


PBS_HOME=/var/spool/torque
TAKEDOWN=$PBS_HOME/mom_priv/takedownnode
NODEFILE=$PBS_HOME/aux/$1
RSHC=/usr/bin/ssh

for i in $(sort -ur $NODEFILE); do      
  $RSHC $i "$TAKEDOWN $2" 2>&1 &
done
wait

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20050218/ccbd4002/attachment.bin


More information about the mauiusers mailing list