<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">The output file is written to the filesystem mounted on the compute node[s], not the control node. Do you have a shared filesystem? Is the output file for your job being written to that shared filesystem?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com>
<b>On Behalf Of </b>Zainul Abiddin<br>
<b>Sent:</b> Sunday, February 7, 2021 10:59 PM<br>
<b>To:</b> slurm-users@lists.schedmd.com<br>
<b>Subject:</b> [slurm-users] Unable to get output file once job is completed<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="1" cellspacing="3" cellpadding="0" style="background:#FFEB9C">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">External email: Use caution opening links or attachments</span></b><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">
</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi All,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have created accounts and users on a cluster and I have login with one of my users and submitted the job, job is completed but output file is not created can anyone help me on this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[zain@smaster ~]$ sacctmgr list associations cluster=scluster format=Account,Cluster,User,Fairshare tree withd<br>
Account Cluster User Share<br>
-------------------- ---------- ---------- ---------<br>
root scluster 1<br>
root scluster root 1<br>
software scluster 50<br>
ai scluster 20<br>
ai scluster jeyaraj 1<br>
hpc scluster 30<br>
hpc scluster srikanth 10<br>
hpc scluster zain 10<br>
[zain@smaster ~]$<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[zain@smaster ~]$ sbatch --wrap="uptime"<br>
Submitted batch job 47<br>
[zain@smaster ~]$ ls<br>
Desktop Documents Downloads Music Pictures Public Templates test.sh Videos<br>
[zain@smaster ~]$ sacct<br>
JobID JobName Partition Account AllocCPUS State ExitCode<br>
------------ ---------- ---------- ---------- ---------- ---------- --------<br>
31 hostname hpc hpc 1 COMPLETED 0:0<br>
37 n2 hpc hpc 1 FAILED 2:0<br>
38 N2 hpc hpc 1 FAILED 2:0<br>
39 hostname hpc hpc 2 COMPLETED 0:0<br>
40 wrap hpc hpc 1 COMPLETED 0:0<br>
40.batch batch hpc 1 COMPLETED 0:0<br>
41 testjob hpc hpc 1 COMPLETED 0:0<br>
41.batch batch hpc 1 COMPLETED 0:0<br>
47 wrap hpc hpc 1 COMPLETED 0:0<br>
47.batch batch hpc 1 COMPLETED 0:0<br>
[zain@smaster ~]$ sbatch test.sh<br>
Submitted batch job 48<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[zain@smaster ~]$ cat test.sh<br>
#!/bin/bash<br>
<br>
#SBATCH -N 1<br>
#SBATCH -n 1<br>
#SBATCH -p hpc<br>
#SBATCH -t 01:00:00<br>
#SBATCH -J testjob<br>
#SBATCH -o testjob.o%j<br>
#SBATCH -e testjob.e%j<br>
hostname<br>
date<br>
[zain@smaster ~]$<br>
[zain@smaster ~]$ ls<br>
Desktop Documents Downloads Music Pictures Public Templates test.sh Videos<br>
[zain@smaster ~]$ sacct<br>
JobID JobName Partition Account AllocCPUS State ExitCode<br>
------------ ---------- ---------- ---------- ---------- ---------- --------<br>
31 hostname hpc hpc 1 COMPLETED 0:0<br>
37 n2 hpc hpc 1 FAILED 2:0<br>
38 N2 hpc hpc 1 FAILED 2:0<br>
39 hostname hpc hpc 2 COMPLETED 0:0<br>
40 wrap hpc hpc 1 COMPLETED 0:0<br>
40.batch batch hpc 1 COMPLETED 0:0<br>
41 testjob hpc hpc 1 COMPLETED 0:0<br>
41.batch batch hpc 1 COMPLETED 0:0<br>
47 wrap hpc hpc 1 COMPLETED 0:0<br>
47.batch batch hpc 1 COMPLETED 0:0<br>
48 testjob hpc hpc 1 COMPLETED 0:0<br>
48.batch batch hpc 1 COMPLETED 0:0<br>
[zain@smaster ~]$<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[zain@smaster ~]$ sinfo -Nl<br>
Mon Feb 08 12:24:46 2021<br>
NODELIST NODES PARTITION STATE CPUS S:C:T MEMORY TMP_DISK WEIGHT AVAIL_FE REASON<br>
smaster 1 hpc* idle 8 8:1:1 1024 0 1 (null) none<br>
snode 1 debug idle 4 4:1:1 1024 0 1 (null) none<br>
snode 1 hpc* idle 4 4:1:1 1024 0 1 (null) none<br>
[zain@smaster ~]$<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Zain<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-family:"Times New Roman",serif;color:black;background:white">Regards</span></b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.5pt;font-family:"Times New Roman",serif;color:black">Zain</span></b><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>