You can use sacctmgr to create accounts and put limits on those accounts, but 
you’re not going to get quite the same functionality that you have with 
software like Gold.

We used Gold for years, and have struggled with some of the things missing from 
SLURM (refunds, periodic expirations, etc.), but have made it work.  It seemed 
easier to work around the few missing things than it was to maintain yet 
another piece of software to keep track of jobs.  If you’re looking for 
double-entry accounting stuff and all the functionality from Gold, you’re not 
going to find it with Slurm.  You could certainly use pre/post execution stuff 
and job submit filter hooks to continue to use Gold if you wanted.

We use sacct and some scripts to pull accounting reports.  We only worry about 
charging node-hours and allocate complete nodes to all jobs, so the usage 
limits are fairly simple in our case. Slurm historically had grpcpumin limits 
that could be set, so we used those.  There are other trackable resources that 
could be used now, but we haven’t done that.

We use sshare to give us an idea of current charging, but it’s been known to 
get out of sync with reality at times.  I wrote some code to re-sync things in 
earlier slurm versions by updating the assoc_usage file, but file formats 
change frequently. I haven’t had things drifting as much with 15.08, so I 
haven’t bothered to test changes to my re-sync code.

I wrote simple scripts for something similar to gbalance and gdeposit, to help 
some people who were used to gold commands, but they’re just wrappers around 
sshare, sacctmgr and sacct.  They make a lot of assumptions about how we do 
charging though, so they may not be generally applicable.

-----
Gary Skouson


From: Mohammad Sajeed [mailto:[email protected]]
Sent: Tuesday, June 07, 2016 4:27 AM
To: slurm-dev <[email protected]>
Subject: [slurm-dev]

Hi Team,

                       What are the commands in slurm for making 
deposits,creating charge rates,managing
 charge rates like Gold Accounting manager.

Thanks in advance for any help.

Regards,
Mohammad Sajeed.

Reply via email to