<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Although I have created an account and associated that to a partition, but the submitted job remains in PD with an error that the account is not allowed in this partition.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Please see the output below:</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">[root@rocks7 mahmood]# sacctmgr list association format=account,user,partition,association,grptres,maxwall | grep z33<br> z33<br> z33 azimi emerald cpu=24,mem=1+ 30-00:00:00<br>[root@rocks7 mahmood]#<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">[root@rocks7 mahmood]# cat /etc/slurm/parts<br>PartitionName=WHEEL RootOnly=yes Priority=1000 Nodes=ALL<br>PartitionName=DIAMOND AllowAccounts=monthly Nodes=compute-0-[0-1]<br>PartitionName=EMERALD AllowAccounts=em1,z1,z2,em4,z3,z33,z5,z9 Nodes=compute-0-[2-3],rocks7<br>[root@rocks7 mahmood]# systemctl restart slurmd<br>[root@rocks7 mahmood]# systemctl restart slurmctld<br>[root@rocks7 mahmood]# su - azimi<br>Last login: Sun Dec 2 09:55:21 +0330 2018 from 192.168.250.1 on pts/12<br>
[azimi@rocks7 ~]
$ cd OpenFOAM/azimi-1.7.1/run/convdiver/<br>
[azimi@rocks7 convdiver]
$ cat slurm_convdiver.sh | head -n 7<br>#!/bin/bash<br>#SBATCH --job-name=convdiver<br>#SBATCH --output=convdiver<br>#SBATCH --partition=EMERALD<br>#SBATCH --account=z33<br>#SBATCH --mem=18GB<br>#SBATCH --ntasks=12<br>[azimi@rocks7 convdiver]$ sbatch slurm_convdiver.sh<br>Submitted batch job 1759<br>[azimi@rocks7 convdiver]$ squeue<br> JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)<br> 1759 EMERALD convdive azimi PD 0:00 1 (Job's account not permitted to use this partition (EMERALD allows em1,z1,z2,em4,z3,z5,z9 not z33))<br><br><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Any guess?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br clear="all"></div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="tahoma,sans-serif">Regards,<br>Mahmood</font><br><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>