<div dir="ltr"><div dir="ltr"><div>Hi All,<br></div><div><br></div><div>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.</div><div><br></div><div>[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 ~]$<br></div><div>[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</div><div>[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 ~]$<br></div><div><br></div><div>[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 ~]$<br></div><div><br></div><div>Regards,</div><div>Zain</div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b style="background-color:rgb(255,255,255)"><font color="#000000" face="times new roman, serif">Regards</font></b></div><div dir="ltr"><b style="font-size:12.8px"><font color="#000000" face="times new roman, serif">Zain<br></font></b></div></div></div></div></div>