run slurmctld as user
Notice: also trying to run slurmd on execute nodes as user makes no sense because it breaks sbatch. Furthermore there is another necessary to run mpi jobs (just tried MpiDefault=none). I don't consider running slurmd as root a good idea, but there seems to be no other choice at the moment.
This commit is contained in:
@@ -32,6 +32,7 @@ CryptoType=crypto/munge
|
||||
#MaxStepCount=40000
|
||||
#MaxTasksPerNode=128
|
||||
MpiDefault=pmix
|
||||
# when running slurmd as user change to: MpiDefault=none
|
||||
#MpiParams=ports=#-#
|
||||
#PluginDir=
|
||||
#PlugStackConfig=
|
||||
@@ -57,8 +58,9 @@ SlurmctldPort=6817
|
||||
SlurmdPidFile=/var/run/slurm/slurmd.pid
|
||||
SlurmdPort=6818
|
||||
SlurmdSpoolDir=/var/spool/slurm/d
|
||||
SlurmUser=root
|
||||
#SlurmdUser=root
|
||||
SlurmUser={{slurm_user}}
|
||||
SlurmdUser=root
|
||||
# SlurmdUser=slurm -> sbatch does not work
|
||||
#SrunEpilog=
|
||||
#SrunProlog=
|
||||
StateSaveLocation=/var/spool/slurm/ctld
|
||||
@@ -130,7 +132,7 @@ AccountingStorageType=accounting_storage/none
|
||||
#AccountingStorageUser=
|
||||
AccountingStoreJobComment=YES
|
||||
ClusterName=cluster
|
||||
#DebugFlags=
|
||||
#DebugFlags=Steps,TraceJobs
|
||||
#JobCompHost=
|
||||
JobCompLoc=/tmp/jobcomp
|
||||
#JobCompPass=
|
||||
@@ -141,12 +143,9 @@ JobCompType=jobcomp/filetxt
|
||||
JobAcctGatherFrequency=30
|
||||
JobAcctGatherType=jobacct_gather/none
|
||||
SlurmctldDebug=verbose
|
||||
#SlurmctldLogFile=
|
||||
SlurmctldLogFile={{slurm_log_path_ctld}}
|
||||
SlurmdDebug=verbose
|
||||
#SlurmdLogFile=
|
||||
SlurmdLogFile={{slurm_log_path_d}}
|
||||
#SlurmSchedLogFile=
|
||||
SlurmSchedLogFile={{slurm_log_path_sched}}
|
||||
#SlurmSchedLogLevel=
|
||||
#
|
||||
|
Reference in New Issue
Block a user