Can not delete started qsub jobs from the queue« Back to Questions List

I have executed a command qdel more than 12 hours ago. Job hangs in the qstat list till now with "dr" status. But my another job depends on this hanging job. So it can not starts and hangs with the status "hqw". Can I remove job with the status "dr" from the qstat list completely?
Posted by Vsilii Plotnikov
Asked on 09/04/2020 11:05
0

My script is here

[vplotnik@ncx106 CheckRootVersion]$ cat CheckRootVersionQsub.sh
#!/bin/bash
#$ -N CheckRootVersion
#$ -j y
#$ -cwd
# request Bourne again shell as shell for job
#$ -S /bin/bash

#qsub -l ’hostname=ncx110*’ CheckRootVersionQsub.sh ncx110

PATH_TO_SCRIPTS=”/nica/mpd19/plotnikov/CheckRootVersion/”
PATH_TO_BMNROOT_FROM_GLEB=”/nica/mpd19/plotnikov/run7_Ar_automation/cbmroot-extended/bmnroot-root6-sigemcsc/”

MACHINE_ID=${1}
echo ”Welcome ${MACHINE_ID}”
if [ ”${SGE_TASK_ID}” == ”” ]; then RUN_ID=${1} ; else RUN_ID=${SGE_TASK_ID} ; qstat | grep ${MACHINE_ID} ; fi

#TODO cd ${PATH_TO_BMNROOT_FROM_GLEB}/build
cd ${PATH_TO_BMNROOT_FROM_GLEB}/build-centos7.7.1908
. config.sh

cd ${PATH_TO_SCRIPTS}

RES=$(df -h | grep mpd19)
echo ”MYRES = $RES”
root -b -q CheckRootVersion.C

Posted by Vsilii Plotnikov
Answered On 15/04/2020 13:41
0

Task id is here

[vplotnik@ncx106 CheckRootVersion]$ qstat
job-ID prior name user state submit/start at queue slots ja-task-ID
—————————————————————————————————————–
1088813 0.55500 CheckRootV vplotnik dt 04/15/2020 13:36:30 all.q@ncx131.jinr.ru 1
1088823 0.55500 CheckRootV vplotnik dt 04/15/2020 13:36:31 all.q@ncx141.jinr.ru 1
1088827 0.55500 CheckRootV vplotnik dt 04/15/2020 13:36:31 all.q@ncx145.jinr.ru 1
1088841 0.55500 CheckRootV vplotnik dt 04/15/2020 13:36:44 all.q@ncx159.jinr.ru 1
1088848 0.55500 CheckRootV vplotnik dt 04/15/2020 13:36:45 all.q@ncx166.jinr.ru 1

Posted by Vsilii Plotnikov
Answered On 15/04/2020 13:40
0

Please describe the task script and id so that I can respond to you faster.

Posted by Ivan Slepov
Answered On 14/04/2020 16:22
0

I have executed a command
qdel [job_id]
more than 12 hours ago. Job hangs in the qstat list till now with ”dr” status. But my another job depends on this hanging job. So it can not starts and hangs with the status ”hqw”. Can I remove job with the status ”dr” from the qstat list completely?

Posted by Vsilii Plotnikov
Answered On 09/04/2020 11:07