温圣召 <[email protected]> writes:

> Fw:Slurm question for help 
>
> Dear Sir/Madam:
>
> I'm using slurm to build a small cluster。my munge,slurmctl,slurmdbd,slurmd
> all run as root。
> I use srun submit jobs with --uid=<user> opention.
> [email protected] matrixMulCUBLAS]# srun 
> --comment=wsz_111 -
> -account="testAccount" -N1 --chdir=/home/wenshengzhao/ --uid=wenshengzhao .
> /testbatch ------- is work ok
> ==============
> [email protected] matrixMulCUBLAS]$ srun -
> -comment=wsz_111 --account="testAccount" -N1 --chdir=/home/wenshengzhao/ -
> -uid=root ./testbatch ------ can not work, error info as : srun: error: Unable
> to allocate resources: Invalid user id 
> ==============
> [email protected] root]$ srun --comment=wsz_111 -
> -account="testAccount" -N2 --chdir=/home/wenshengzhao/ --uid=wenshengzhao .
> /testbatch ---------- can not work, error info as: srun: error: Unable to
> allocate resources: Invalid user id
>
> how can I solve this problem?
>
> I am looking forward to your reply

Have you added the user 'wenshengzhao' to the accounting information?

If not, have a look at the "Database Configuration" section on the
following page

http://slurm.schedmd.com/accounting.html

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to