[torqueusers] qstat call in prologue or epilogue script

Steve Traylen s.traylen at rl.ac.uk
Wed Sep 8 10:58:49 MDT 2004


On Wed, Sep 08, 2004 at 03:03:04PM +0200 or thereabouts, cyrille martin wrote:
> Hi,
> 
> I would like know nodes and processors resources allocated for a job id 
> in prologue or epilogue script.
> 
> When i do a "qstat -f jobid" call in the prologue script the qstat hangs 
> and prologue is killed by the timeout as said in Administrator guide p43.
> When one node is allocated it works fine, but for more nodes the qstat 
> hangs.
> I use torque-1.1.0p0.

This information is passed to your prologue as arguments.

Try 

echo $@

to see what is being passed, it is documented in the guide as well.

Steve
> 
> Is it a normal behavior or not, have you an idea?
> 
> Thanks
> 
> Cyrille
> 
> Cyrille Martin
> BULL SA
> 
> 
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://supercluster.org/mailman/listinfo/torqueusers

-- 
Steve Traylen
s.traylen at rl.ac.uk
http://www.gridpp.ac.uk/


More information about the torqueusers mailing list