[torqueusers] Batch not running

Zarnoch, Dave dave.zarnoch at sykes.com
Wed Sep 14 07:41:37 MDT 2011


Hello folks,
New to Torque, used to run NQS....
Concerning Torque...
I have a small script:
$ more dn_test.sh
#!/bin/sh
#
PATH=/bin:/usr/bin:/usr/local/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr
/bin/X11
:/sbin:.
export PATH
DATE=`date +%H%M`
echo "Hello"
touch /tmp/dn_test_${DATE}
sleep 90
 
When I submit the script:
 
qsub -V -l nodes=1 -q dn dn_test.sh
 
It runs fine.
 
But I need to run batch...
 
I created a text file "dn_test.txt"
 
That contains:
 
/home/zarnocda/torque/scripts_test/dn_test.sh
 
When I run:
 
qsub -V -l nodes=1 -q dn dn_test.txt
 
It appears to process the file:
qstat -s
Job id                    Name             User            Time Use S
Queue
------------------------- ---------------- --------------- -------- -
-----
7592.usphl1ora002.amer    dn_test.txt      zarnocda               0 R dn

 
But it doesn't excute the script within:
/home/zarnocda/torque/scripts_test/dn_test.sh
 
Any help!
 
Thanks!
 
Dave
Dave Zarnoch
UNIX Systems Administration
(215)200-0911
Dave.Zarnoch at sykes.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20110914/6cd856cc/attachment.html 


More information about the torqueusers mailing list