Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud

Job Submission

renata_falguera
Beginner
3,436 Views

Hi everybody!

I'm trying to run my python script using these commands:

vi job
nohup qsub job &

In job I put:

#PBS -l walltime:48:00:00
conda activate env
python project.py

But after an hour of execution the command line crashes:

client_loop: send disconnect: Connection reset by peer
client_loop: send disconnect: Broken pipe 

How I can run my project without breaking the execution?

0 Kudos
1 Solution
RaeesaM_Intel
Moderator
3,194 Views

Hi Renata,


We checked with the admin team and they have informed that x11 forwarding is not supported now. Sorry for the inconvenience. Did you try running the job again, is it showing same error as it demands x11 forwarding ? Is your issue resolved ? Can we discontinue monitoring this thread ?


Regards,

Raeesa


View solution in original post

0 Kudos
13 Replies
RaeesaM_Intel
Moderator
3,407 Views

Hi,


Thank you fro posting in Intel DevCloud Forum.

Could you please try submitting the job using the following command:

$ qsub job


Once your job has been submitted,you will get a Job ID which is the tracking number for your job. You can track the status of the job with:

 $ qstat


Once it is complete, the output will be in the files:

$ cat job.oXXXXXX

$ cat job.eXXXXXX

Here ‘XXXXXX’ is the Job ID. The .o file contains the standard output stream, and .e file contains the error stream.


Hope this helps.


Regards,

Raeesa


0 Kudos
renata_falguera
Beginner
3,396 Views

Hi Raeesa,

I tried to submit the job using the command that you mentioned but I am getting this error:

qsub: submit filter returned an error code, aborting job submission.

An image of the giving error is attached.

0 Kudos
RaeesaM_Intel
Moderator
3,373 Views

Hi , 


From the script file , we could observe that the wall time is set to 48hrs.The wall time can be set to only a maximum of 24 hours to ensure a fair utilization of resources by all the DevCloud users. 

Please change the wall time to the maximum limit that is 24hrs and submit again. To extend the default limit to 24hrs, use "#PBS -l walltime=24:00:00" in your job file.


You can follow the below steps:

1. Create a job file

$ vi job

2. Inside the file please add

#PBS -l walltime=24:00:00

conda activate env

python project.py

3. Save the file and Run the job

$ qsub job


If this does not work, please try executing the python file from compute node and check if any errors are there.

$ qsub -I

$ conda activate env

$ python project.py


Hope this helps. If you face any issues please let us know.

Raeesa



0 Kudos
renata_falguera
Beginner
3,362 Views

Hi Raeesa,

The qsub job command didn't work, I tried to run python file from compute node and I'm getting an error in the Qt plugin. I had this Qt plugin error before and managed to resolve it by running the code in qsub -X -I. But qsub -X -I is not working, only qsub -I.

0 Kudos
RaeesaM_Intel
Moderator
3,320 Views

Hi Renata,


We could observe that you have raised a similar query :

https://community.intel.com/t5/Intel-DevCloud/Qsub-Problem/m-p/1269084/emcs_t/S2h8ZW1haWx8Ym9hcmRfc3Vic2NyaXB0aW9ufEtNVk45VTg5R1FaU1E3fDEyNjkwODR8U1VCU0NSSVBUSU9OU3xoSw#M2157

As Athira mentioned in the post , we have informed the concerned team regarding this and hope the issue will be resolved soon.


Raeesa


0 Kudos
RaeesaM_Intel
Moderator
3,264 Views

Hi Renata,


Thank you for your patience. We are still checking with the admin team regarding the issue with qsub -X -I . We will let you know the updates.


Regards,

Raeesa


0 Kudos
renata_falguera
Beginner
3,257 Views

Hi Raeesa,

No problem at all! I will be waiting for your answer!

Thank you,

Renata

0 Kudos
RaeesaM_Intel
Moderator
3,221 Views

Hi Renata,


We are yet to receive updates from the admin team. Please give us some time, we will get back to you.


Thanks,

Raeesa


0 Kudos
RaeesaM_Intel
Moderator
3,195 Views

Hi Renata,


We checked with the admin team and they have informed that x11 forwarding is not supported now. Sorry for the inconvenience. Did you try running the job again, is it showing same error as it demands x11 forwarding ? Is your issue resolved ? Can we discontinue monitoring this thread ?


Regards,

Raeesa


0 Kudos
RaeesaM_Intel
Moderator
3,159 Views

Hi Renata,


We haven't heard back from you. Could you please give us a reply ?


Regards,

Raeesa


0 Kudos
renata_falguera
Beginner
3,153 Views

Hi Raeesa,

Thank you for all the help! And yes, you can discontinue monitoring this thread.

0 Kudos
RaeesaM_Intel
Moderator
3,146 Views

Hi Renata,


Thank you for the confirmation. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Regards,

Raeesa


0 Kudos
Reply