Bugzilla – Bug 65
TSK reports 2 when you ask for nodes=1:ppn=1 in a job script vs. command line
Last modified: 2010-06-28 15:31:57 MDT
You need to log in before you can comment on or make changes to this bug.
All, As you can see in the following output when you do a qsub -l nodes=1:ppn=1 you get the right amount of tasks but when you create a job script and submit it you get two tasks instead of one. Version: 2.4.8 Best Regards, [adaptcomp@xcathead ~]$ cat script.sh #!/bin/bash #PBS -l nodes=1:ppn=2 [adaptcomp@xcathead ~]$ qsub script.sh 12.xcathead [adaptcomp@xcathead ~]$ echo sleep 333 | qsub -l nodes=1:ppn=1 13.xcathead [adaptcomp@xcathead ~]$ qstat -a xcathead: Req'd Req'd Elap Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time -------------------- -------- -------- ---------------- ------ ----- --- ------ ----- - ----- 12.xcathead adaptcom batch script.sh -- 1 2 -- 01:00 Q -- 13.xcathead adaptcom batch STDIN -- 1 1 -- 01:00 Q -- [adaptcomp@xcathead ~]$ qstat -f 12 Job Id: 12.xcathead Job_Name = script.sh Job_Owner = adaptcomp@xcathead job_state = Q queue = batch server = xcathead Checkpoint = u ctime = Mon Jun 28 13:52:18 2010 Error_Path = xcathead:/home/adaptcomp/script.sh.e12 Hold_Types = n Join_Path = n Keep_Files = n Mail_Points = a mtime = Mon Jun 28 13:52:18 2010 Output_Path = xcathead:/home/adaptcomp/script.sh.o12 Priority = 0 qtime = Mon Jun 28 13:52:18 2010 Rerunable = True Resource_List.nodect = 1 Resource_List.nodes = 1:ppn=2 Resource_List.walltime = 01:00:00 Variable_List = PBS_O_HOME=/home/adaptcomp,PBS_O_LANG=en_US.UTF-8, PBS_O_LOGNAME=adaptcomp, PBS_O_PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/ local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/xcat/bin:/opt/xcat/sbin:/ root/bin:/opt/xcat/bin:/opt/xcat/sbin,PBS_O_MAIL=/var/spool/mail/root, PBS_O_SHELL=/bin/bash,PBS_SERVER=xcathead, PBS_O_WORKDIR=/home/adaptcomp,PBS_O_QUEUE=batch,PBS_O_HOST=xcathead comment = cannot create reservation for job '12' (requested resources not available at any time) cannot create reservation for job '12' (request ed resources not available at any time) etime = Mon Jun 28 13:52:18 2010 submit_args = script.sh Walltime.Remaining = 360 fault_tolerant = False [adaptcomp@xcathead ~]$ qstat -f 13 Job Id: 13.xcathead Job_Name = STDIN Job_Owner = adaptcomp@xcathead job_state = Q queue = batch server = xcathead Checkpoint = u ctime = Mon Jun 28 13:52:21 2010 Error_Path = xcathead:/home/adaptcomp/STDIN.e13 Hold_Types = n Join_Path = n Keep_Files = n Mail_Points = a mtime = Mon Jun 28 13:52:22 2010 Output_Path = xcathead:/home/adaptcomp/STDIN.o13 Priority = 0 qtime = Mon Jun 28 13:52:21 2010 Rerunable = True Resource_List.nodect = 1 Resource_List.nodes = 1:ppn=1 Resource_List.walltime = 01:00:00 Variable_List = PBS_O_HOME=/home/adaptcomp,PBS_O_LANG=en_US.UTF-8, PBS_O_LOGNAME=adaptcomp, PBS_O_PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/ local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/xcat/bin:/opt/xcat/sbin:/ root/bin:/opt/xcat/bin:/opt/xcat/sbin,PBS_O_MAIL=/var/spool/mail/root, PBS_O_SHELL=/bin/bash,PBS_SERVER=xcathead, PBS_O_WORKDIR=/home/adaptcomp,PBS_O_QUEUE=batch,PBS_O_HOST=xcathead comment = cannot create reservation for job '13' (requested resources not available at any time) cannot create reservation for job '13' (request ed resources not available at any time) etime = Mon Jun 28 13:52:21 2010 submit_args = -l nodes=1:ppn=1 Walltime.Remaining = 360 fault_tolerant = False [adaptcomp@xcathead ~]$ qsub --about HomeDir: /var/spool/torque InstallDir: /usr/local Server: xcathead BuildDir: /root/torque_moab/torque-2.4.8 BuildUser: root BuildHost: xcathead BuildDate: Wed Jun 16 11:54:49 BST 2010 Version: 2.4.8