What's the value of AccountingStorageEnforce in slurm.conf?

If it contains limits, qos, wckeys, safe, or associations, then that user 
account must have an association in the accounting database.

Sounds like your slurm.conf expects an association to exist for a user to 
submit a job.  The fact your logs have an "account" value looks like you have 
an accounting database running.

For example:

slurm.conf:

AccountingStorageEnforce=limits,qos
AccountingStorageType=accounting_storage/slurmdbd

$ sacctmgr show user slurm
      User   Def Acct     Admin
---------- ---------- ---------

(Then become a user not in the database):

$ whoami
slurm
$ srun -n1 hostname
srun: error: Unable to allocate resources: Invalid account or account/partition 
combination specified

- Trey

=============================

Trey Dockendorf 
Systems Analyst I 
Texas A&M University 
Academy for Advanced Telecommunications and Learning Technologies 
Phone: (979)458-2396 
Email: [email protected] 
Jabber: [email protected]

----- Original Message -----
> From: "Michael Colonno" <[email protected]>
> To: "slurm-dev" <[email protected]>
> Sent: Wednesday, September 3, 2014 4:27:32 PM
> Subject: [slurm-dev] Invalid account or account/partition
> 
> 
> 
> 
> Hi SLURMers ~
> 
> 
> 
> Hopefully a basic question: I set up a new one-node test cluster to
> run a few things on. I have one local user account and master =
> node. When trying to run anything through that user account, I’m
> getting:
> 
> 
> 
> srun: error: Unable to allocate resources: Invalid account or
> account/partition combination specified
> 
> 
> 
> From the master log:
> 
> 
> 
> [2014-09-03T21:00:24.277] _job_create: invalid account or partition
> for user 500, account 'mcolonno', and partition 'all'
> 
> [2014-09-03T21:00:24.277] _slurm_rpc_allocate_resources: Invalid
> account or account/partition combination specified
> 
> 
> 
> Having set up several larger SLURM clusters I’ve never seen this
> behavior before. I’m hoping there is some setting I missed to
> recognize or associate local users(?) I checked between my older
> (working) clusters and this new one: neither have an account
> management database running.
> 
> 
> 
> Thanks ,
> 
> ~Mike C.
> 
> 
> 
>

Reply via email to