Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot search for torque job by id from Jupyter #12

Open
OliverEvans96 opened this issue Jan 29, 2018 · 0 comments
Open

Cannot search for torque job by id from Jupyter #12

OliverEvans96 opened this issue Jan 29, 2018 · 0 comments
Assignees

Comments

@OliverEvans96
Copy link
Contributor

OliverEvans96 commented Jan 29, 2018

From Jupyter

docker-compose exec jupyter /bin/bash

jovyan@jupyter:~$ cat test.batch 
#!/bin/bash
#PBS -l nodes=1
#PBS -l nice=10
#PBS -j oe
#PBS -q default
#PBS -N KaleTest
#PBS -r n
echo "Sleeping for 30 seconds..."
sleep 30
echo "Done"
jovyan@jupyter:~$ qsub test.batch
0.torque
jovyan@jupyter:~$ qstat
Job id                    Name             User            Time Use S Queue
------------------------- ---------------- --------------- -------- - -----
0.torque                  KaleTest         jovyan                 0 R default        
jovyan@jupyter:~$ qstat 0
qstat: Unknown Job Id 0.vcluster_torque_1.vcluster_default
jovyan@jupyter:~$ qstat 0.torque
qstat: Unknown Job Id 0.vcluster_torque_1.vcluster_default

From Torque

root@torque:/# qstat
Job id                    Name             User            Time Use S Queue
------------------------- ---------------- --------------- -------- - -----
0.torque                  KaleTest         jovyan          00:00:00 C default        
root@torque:/# qstat 0
Job id                    Name             User            Time Use S Queue
------------------------- ---------------- --------------- -------- - -----
0.torque                  KaleTest         jovyan          00:00:00 C default        
root@torque:/# qstat 0.torque
Job id                    Name             User            Time Use S Queue
------------------------- ---------------- --------------- -------- - -----
0.torque                  KaleTest         jovyan          00:00:00 C default        

Everything works fine from the torque node

From Worker

ubuntu@536fc18507d7:/$ qstat
ubuntu@536fc18507d7:/$ qstat -a

So the worker doesn't even see anything in the queue.

@OliverEvans96 OliverEvans96 changed the title Cannot search for torque job by id from jupyter node Cannot search for torque job by id Jan 29, 2018
@OliverEvans96 OliverEvans96 changed the title Cannot search for torque job by id Cannot search for torque job by id from Jupyter Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants