<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to submit a job using Terminal in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625819#M54</link>
    <description>&lt;P&gt;I have followed the basic job submission tutorial and created a file named myjob.txt in the server. Then added these two lines in myjob.txt file using a text editor. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;cd $PBS_O_WORKDIR
python final.py&lt;/CODE&gt;&lt;P&gt;Then I executed the command "qsub myjob.txt" and  a job id returned. After that, I executed the command "qstat" and it returned with the job id of the jupyterhub. Also two new blank files also created in the directory - myjob.txt.o4489 and myjob.txt.e4489. What am I doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="64b0379660d5cba5b10d6752b4f6ed1f.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/531iCFF3D38FB54138F7/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="64b0379660d5cba5b10d6752b4f6ed1f.png" alt="64b0379660d5cba5b10d6752b4f6ed1f.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Dec 2018 19:36:29 GMT</pubDate>
    <dc:creator>penguined</dc:creator>
    <dc:date>2018-12-15T19:36:29Z</dc:date>
    <item>
      <title>Unable to submit a job using Terminal</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625819#M54</link>
      <description>&lt;P&gt;I have followed the basic job submission tutorial and created a file named myjob.txt in the server. Then added these two lines in myjob.txt file using a text editor. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;cd $PBS_O_WORKDIR
python final.py&lt;/CODE&gt;&lt;P&gt;Then I executed the command "qsub myjob.txt" and  a job id returned. After that, I executed the command "qstat" and it returned with the job id of the jupyterhub. Also two new blank files also created in the directory - myjob.txt.o4489 and myjob.txt.e4489. What am I doing wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="64b0379660d5cba5b10d6752b4f6ed1f.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/531iCFF3D38FB54138F7/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="64b0379660d5cba5b10d6752b4f6ed1f.png" alt="64b0379660d5cba5b10d6752b4f6ed1f.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Dec 2018 19:36:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625819#M54</guid>
      <dc:creator>penguined</dc:creator>
      <dc:date>2018-12-15T19:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to submit a job using Terminal</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625820#M55</link>
      <description>&lt;P&gt;Hi Toqi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please follow the steps mentioned below to submit the job&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Create a file named as myjob&lt;/P&gt;&lt;P&gt;	vi myjob&lt;/P&gt;&lt;P&gt;2. Open the file and add the following commands&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;#If you want to run the job for 24hrs add the command mentioned below (include #)&lt;/P&gt;&lt;P&gt;	#PBS -l walltime=24:00:00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;	#PBS -l nodes=1&lt;/P&gt;&lt;P&gt;	cd $PBS_O_WORKDIR&lt;/P&gt;&lt;P&gt;	#Activate your environment using the command below&lt;/P&gt;&lt;P&gt;	source activate &amp;lt;ENV_NAME&amp;gt;&lt;/P&gt;&lt;P&gt;	#Redirect to the working directory&lt;/P&gt;&lt;P&gt;	cd &amp;lt;DIRECTORY PATH&amp;gt;&lt;/P&gt;&lt;P&gt;	python &amp;lt;YOUR PYTHON NAME&amp;gt;.py&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find the attached sample file. It would be great if you can share the observation once you are done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you are getting both the object file and error file as blank, Please try to execute the code directly in a compute node (not as a job) and share the observation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Get a compute node	&lt;/P&gt;&lt;P&gt;	qsub -I&lt;/P&gt;&lt;P&gt;2. Redirect to the working directory&lt;/P&gt;&lt;P&gt;	cd &amp;lt;DIRECTORY PATH&amp;gt;&lt;/P&gt;&lt;P&gt;3. Execute the code as&lt;/P&gt;&lt;P&gt;	python &lt;A href="http://final.py"&gt;final.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 13:18:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625820#M55</guid>
      <dc:creator>Ratheesh_A_Intel</dc:creator>
      <dc:date>2018-12-17T13:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to submit a job using Terminal</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625821#M56</link>
      <description>Hi Toqi,

Thanks for reaching out to us. 
Please follow the steps mentioned below to submit the job

1. Create a file named as myjob
	vi myjob
2. Open the file and add the following commands
    #If you want to run the job for 24hrs add the command mentioned below (include #)
	#PBS -l walltime=24:00:00              
	#PBS -l nodes=1
	cd $PBS_O_WORKDIR
	#Activate your environment using the command below
	source activate &amp;lt;ENV_NAME&amp;gt;
	#Redirect to the working directory
	cd &amp;lt;DIRECTORY PATH&amp;gt;
	python &amp;lt;YOUR PYTHON NAME&amp;gt;.py


Please find the attached sample file. It would be great if you can share the observation once you are done.



Since you are getting both the object file and error file as blank, Please try to execute the code directly in a compute node (not as a job) and share the observation.

1. Get a compute node	
	qsub -I
2. Redirect to the working directory
	cd &amp;lt;DIRECTORY PATH&amp;gt;
3. Execute the code as
	python &lt;A href="http://final.py"&gt;final.py&lt;/A&gt;
	



Thanks &amp;amp; Regards
Ratheesh A</description>
      <pubDate>Mon, 17 Dec 2018 13:19:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625821#M56</guid>
      <dc:creator>Ratheesh_A_Intel</dc:creator>
      <dc:date>2018-12-17T13:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to submit a job using Terminal</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625822#M57</link>
      <description>Hi,

Could you please confirm whether the solution provided worked for you or not.

Thanks 
Ratheesh A</description>
      <pubDate>Wed, 19 Dec 2018 18:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625822#M57</guid>
      <dc:creator>Ratheesh_A_Intel</dc:creator>
      <dc:date>2018-12-19T18:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to submit a job using Terminal</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625823#M58</link>
      <description>Hi,



Hope the solution provided worked for you. Feel free to raise new thread for  any further issues.


Thanks
Ratheesh A</description>
      <pubDate>Thu, 20 Dec 2018 19:09:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Unable-to-submit-a-job-using-Terminal/m-p/625823#M58</guid>
      <dc:creator>Ratheesh_A_Intel</dc:creator>
      <dc:date>2018-12-20T19:09:14Z</dc:date>
    </item>
  </channel>
</rss>

