How can I tell which account codes I can use and which partitions I can submit to?

The account codes you can use when submitting a job to Slurm are directly related to the HPC Projects you are a member of (see My HPC Projects).

On Comet you can check which account codes you can use and which partitions they grant access to using the ``sacctmgr`` tool:

[n123@cometlogin01(comet) ~]$ sacctmgr list associations where user=n123
   Cluster    Account       User  Partition     Share   Priority GrpJobs       GrpTRES GrpSubmit     GrpWall   GrpTRESMins MaxJobs       MaxTRES MaxTRESPerNode MaxSubmit     MaxWall   MaxTRESMins                  QOS   Def QOS GrpTRESRunMin 
---------- ---------- ---------- ---------- --------- ---------- ------- ------------- --------- ----------- ------------- ------- ------------- -------------- --------- ----------- ------------- -------------------- --------- ------------- 
     comet  allusers         n123                    1                                                                            0                                      0                                         normal                         
     comet  comet_proj1      n123 default_f+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 default_p+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 gpu-l_paid         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 gpu-s_free         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 gpu-s_paid         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 interacti+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 interacti+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 interacti+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 interacti+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 interacti+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123  long_free         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123  long_paid         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 low-laten+         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 short_free         1                                                                          512                                    256                                         normal                         
     comet  comet_proj1      n123 short_paid         1                                                                          512                                    256                                         normal

The example above shows that the user n123 is associated with the allusers account (but which has no partition permissions) and the comet_proj1 account which has permissions on all _paid and _free partitions.

You can use the -p option to sacctmgr to get a more easily parseable output, including complete account and partition names to work around the column width cut-off issue in the default sacctmgr output as above.

If any column in your output of sacctmgr is suffixed with +, then it means that field is longer than can be displayed. Re-run it again with the -p flag to see the full output.


Back to FAQ index