[torqueusers] Batch not running
Zarnoch, Dave
dave.zarnoch at sykes.com
Wed Sep 14 11:35:25 MDT 2011
Yes, the script is executable.
I just issued the command you suggested..
Thanks again!
You guys are GREAT!
Dave
Dave Zarnoch
UNIX Systems Administration
(215)200-0911
Dave.Zarnoch at sykes.com
-----Original Message-----
From: torqueusers-bounces at supercluster.org
[mailto:torqueusers-bounces at supercluster.org] On Behalf Of Gus Correa
Sent: Wednesday, September 14, 2011 1:30 PM
To: Torque Users Mailing List
Subject: Re: [torqueusers] Batch not running
Hi Dave
Did you make dn_test.sh executable?
(chmod u+x dn_test.sh)
Did you enable scheduling?
(qmgr -c 'set server scheduling = True')
Gus Correa
Zarnoch, Dave wrote:
> 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
>
>
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list