Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Innovator
500 Views

Since the ubuntu update on DEVCLOUD I can't use common commands to get job info

I started a couple jobs yesterday and checking the documentation I couldn't execute simple commands such as qstat -f <JOB ID>. Here some examples:

 

qstat (works perfectly and shows the current active jobs)

XXXX.v-qsvr-1 <script> <uXXXXX> 05:03:57 R batch

but if I use qpeek to check this jobs, here the outputs:

qpeek -o XXXX.v-qsvr-1 qstat: Unknown Job Id Error XXXX.v-qsvr-1 Job XXXX.v-qsvr-1 is not running!

I can't even delete a current job

qdel XXXX.v-qsvr-1 qdel: nonexistent job id: XXXX.v-qsvr-1

What am I doing wrong? Thanks!

 

Regards

David Molina

0 Kudos
4 Replies
Highlighted
14 Views

Hi,

Thanks for reaching us .

 

It is possible that the job got completed and qpeek did not get a chance to peek. Alternate is to run qsub with the "-k oe" option.

qsub -k oe my_script

std i/o and error will be dumped into your home directory and you can check anytime while jobs are running.

And also qdel is used to delete a queued or a running job. Might be the job has been completed resulting the mentioned error.

 

Hope this helps.

 

Regards,

PallaviS

 

0 Kudos
Highlighted
14 Views

Hi ,

Hope that provided solution is helpful. Please confirm.

Try to run a long job and then use qpeek

qpeek <Job ID>

qpeek XXXXX ( eg : qpeek 12345)

To display the stderr log file while your job is running use the below command qpeek -e jobid

eg : qpeek -e 18298

 

 

Regards,

PallaviS

 

0 Kudos
Highlighted
Innovator
14 Views

Hi, sorry for my late feedback. I found out that the new id is longer than what is showed when `qstat` is execute.

Here an id example: `XXXXX.v-qsvr-1.aidevcloud`

 

All the commands work normally with this long id.

I got it using `qstat -xf <job_id_provided_with_simple_qstat>`

 

Thanks for your answer I like the qsub -k oe my_script command very useful.

 

David

0 Kudos
Highlighted
14 Views

Hi,

Glad to hear that the solution provided helped.We are closing this thread .Feel free to open a new thread for any issues. 

After the case closure, you will receive a survey email. We appreciate it if you can complete this survey regarding the support you received.

 

Regards,

PallaviS