Re-run your command and add the WithAssoc option.  Then see whether there is a 
default account present for the cluster of interest.

There is probably not and you will have to add it:

sacctmgr modify user k202066 cluster=<cluster_of_interest> set 
DefaultAccount=intern

While default accounts used to be global, they were later made to be 
cluster-specific.  The report you ran (without the WithAssoc) shows the 
vestigial global default account.

Don

> -----Original Message-----
> From: Olaf Gellert [mailto:[email protected]]
> Sent: Friday, May 31, 2013 2:55 AM
> To: slurm-dev
> Subject: [slurm-dev] Invalid account or account/partition combination
> specified
> 
> 
> Hi there.
> 
> I use slurm 2.5.4 with mysql as accounting db. When I submit a job
> as user k202066 with UID 20554, I get the following:
> 
> sbatch: error: Batch job submission failed: Invalid account or
> account/partition combination specified
> 
> In the log file on the host running slurmctld, I find:
> 
> [2013-05-31T11:46:56+02:00] debug3: found correct user
> [2013-05-31T11:46:56+02:00] error: User k202066(20554) doesn't have a
> default account
> [2013-05-31T11:46:56+02:00] _job_create: invalid account or partition
> for user 20554, account '(null)', and partition 'serial'
> [2013-05-31T11:46:56+02:00] _slurm_rpc_submit_batch_job: Invalid account
> or account/partition combination specified
> 
> Ok, no default account. But:
> 
> # sacctmgr list user k202066
>       User   Def Acct     Admin
> ---------- ---------- ---------
>    k202066     intern      None
> 
> So the default account "intern" exists. Any idea what's
> wrong or what I could look at?
> 
> Olaf
> 
> --
> Dipl. Inform. Olaf Gellert            email  [email protected]
> Deutsches Klimarechenzentrum GmbH     phone  +49 (0)40 460094 214
> Bundesstrasse 45a                     fax    +49 (0)40 460094 270
> D-20146 Hamburg, Germany              www    http://www.dkrz.de
> 
> Sitz der Gesellschaft: Hamburg
> Gesch�ftsf�hrer: Prof. Dr. Thomas Ludwig
> Registergericht: Amtsgericht Hamburg, HRB 39784

Reply via email to