Ticket 8698

Summary: Job charge for requeued jobs
Product: Slurm Reporter: ARC Admins <arc-slurm-admins>
Component: AccountingAssignee: Director of Support <support>
Status: RESOLVED INFOGIVEN QA Contact:
Severity: 4 - Minor Issue    
Priority: --- CC: ben
Version: 19.05.5   
Hardware: Linux   
OS: Linux   
Site: University of Michigan Slinky Site: ---
Alineos Sites: --- Atos/Eviden Sites: ---
Confidential Site: --- Coreweave sites: ---
Cray Sites: --- DS9 clusters: ---
Google sites: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description ARC Admins 2020-03-18 12:39:56 MDT
Hello,

If a job is requeued due the criteria described in `man slurm.conf` for `JobRequeue` (i.e. "requeued explicitly by a system administrator, after node failure, or upon  preemption  by  a  higher priority job") how is the billing/charging impacted? To be clear, by "billing" I am referring to the billing number as reported in the output of something like:

```
/opt/slurm/bin/sreport -nP -T billing cluster AccountUtilizationByUser Accounts=<accountName>
```

More specifically, we have a user who submitted a job and it was requeued due to `NODE_FAIL`. This user wants to know if they will be charged for their previous usage, despite being requeued.

Best,

David
Comment 2 Jeff DeGraw 2020-03-18 15:58:45 MDT
ARCTS Admins,

I'm looking into your request.
Comment 3 Jeff DeGraw 2020-03-19 14:32:17 MDT
ARCTS Admins,

There is a charge whenever compute time is used, even if a job is requeued. Slurm will track all usage even if that usages was from a job that ran for one hour and was requeued. This, to Slurm is still CPU cycles used. Does that answer your question sufficiently?
Comment 4 ARC Admins 2020-03-19 18:38:28 MDT
Jeff,

Thanks. This does answer my question.

Take care,

David