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