I got this error when i try a sacct JOBID : SLURM accounting storage is 
disabled 

here my slurmctld log file ( tail -f /var/log/slurm-llnl/slurmctld.log) : 



[2013-09-19T10:58:20] sched: _slurm_rpc_allocate_resources JobId=179 
NodeList=VM-669 usec=70 
[2013-09-19T10:58:20] sched: _slurm_rpc_job_step_create: StepId=179.0 VM-669 
usec=197 
[2013-09-19T10:58:20] sched: _slurm_rpc_job_step_create: StepId=179.1 VM-669 
usec=187 
[2013-09-19T10:59:00] sched: _slurm_rpc_step_complete StepId=179.1 usec=17 
[2013-09-19T10:59:00] completing job 179 
[2013-09-19T10:59:00] sched: job_complete for JobId=179 successful 
[2013-09-19T10:59:00] sched: _slurm_rpc_step_complete StepId=179.0 usec=8 




and my conf file (/etc/slurm-llnl/slurm.conf) : 



# slurm.conf file generated by configurator.html. 
# Put this file on all nodes of your cluster. 
# See the slurm.conf man page for more information. 
# 
ControlMachine=VM-667 
ControlAddr=192.168.2.26 
#BackupController= 
#BackupAddr= 
# 
AuthType=auth/munge 
CacheGroups=0 
#CheckpointType=checkpoint/none 
CryptoType=crypto/munge 
#DisableRootJobs=NO 
#EnforcePartLimits=NO 
#Epilog= 
#PrologSlurmctld= 
#FirstJobId=1 
#MaxJobId=999999 
#GresTypes= 
#GroupUpdateForce=0 
#GroupUpdateTime=600 
JobCheckpointDir=/var/lib/slurm-llnl/checkpoint 
#JobCredentialPrivateKey= 
#JobCredentialPublicCertificate= 
#JobFileAppend=0 
#JobRequeue=1 
#JobSubmitPlugins=1 
#KillOnBadExit=0 
#Licenses=foo*4,bar 
#MailProg=/usr/bin/mail 
#MaxJobCount=5000 
#MaxStepCount=40000 
#MaxTasksPerNode=128 
MpiDefault=none 
#MpiParams=ports=#-# 
#PluginDir= 
#PlugStackConfig= 
#PrivateData=jobs 
ProctrackType=proctrack/pgid 
#Prolog= 
#PrologSlurmctld= 
#PropagatePrioProcess=0 
#PropagateResourceLimits= 
#PropagateResourceLimitsExcept= 
ReturnToService=1 
#SallocDefaultCommand= 
SlurmctldPidFile=/var/run/slurm-llnl/slurmctld.pid 
SlurmctldPort=6817 
SlurmdPidFile=/var/run/slurm-llnl/slurmd.pid 
SlurmdPort=6818 
SlurmdSpoolDir=/var/lib/slurm-llnl/slurmd 
SlurmUser=slurm 
#SrunEpilog= 
#SrunProlog= 
StateSaveLocation=/var/lib/slurm-llnl/slurmctld 
SwitchType=switch/none 
#TaskEpilog= 
TaskPlugin=task/none 
#TaskPluginParam= 
#TaskProlog= 
#TopologyPlugin=topology/tree 
#TmpFs=/tmp 
#TrackWCKey=no 
#TreeWidth= 
#UnkillableStepProgram= 
#UsePAM=0 
# 
# 
# TIMERS 
#BatchStartTimeout=10 
#CompleteWait=0 
#EpilogMsgTime=2000 
#GetEnvTimeout=2 
#HealthCheckInterval=0 
#HealthCheckProgram= 
InactiveLimit=0 
KillWait=30 
#MessageTimeout=10 
#ResvOverRun=0 
MinJobAge=300 
#OverTimeLimit=0 
SlurmctldTimeout=120 
SlurmdTimeout=300 
#UnkillableStepTimeout=60 
#VSizeFactor=0 
Waittime=0 
# 
# 
# SCHEDULING 
#DefMemPerCPU=0 
FastSchedule=1 
#MaxMemPerCPU=0 
#SchedulerRootFilter=1 
#SchedulerTimeSlice=30 
SchedulerType=sched/backfill 
SchedulerPort=7321 
SelectType=select/linear 
#SelectTypeParameters= 
# 
# 
# JOB PRIORITY 
#PriorityType=priority/basic 
#PriorityDecayHalfLife= 
#PriorityCalcPeriod= 
#PriorityFavorSmall= 
#PriorityMaxAge= 
#PriorityUsageResetPeriod= 
#PriorityWeightAge= 
#PriorityWeightFairshare= 
#PriorityWeightJobSize= 
#PriorityWeightPartition= 
#PriorityWeightQOS= 
# 
# 
# LOGGING AND ACCOUNTING 
#AccountingStorageEnforce=0 
#AccountingStorageHost= 
#AccountingStorageLoc= 
#AccountingStoragePass= 
#AccountingStoragePort= 
AccountingStorageType=accounting_storage/none 
#AccountingStorageUser= 
AccountingStoreJobComment=YES 
ClusterName=cluster 
#DebugFlags= 
#JobCompHost= 
#JobCompLoc= 
#JobCompPass= 
#JobCompPort= 
JobCompType=jobcomp/none 
#JobCompUser= 
JobAcctGatherFrequency=30 
JobAcctGatherType=jobacct_gather/none 
SlurmctldDebug=3 
SlurmctldLogFile=/var/log/slurm-llnl/slurmctld.log 
SlurmdDebug=3 
SlurmdLogFile=/var/log/slurm-llnl/slurmd.log 
#SlurmSchedLogFile= 
#SlurmSchedLogLevel= 
# 
# 
# POWER SAVE SUPPORT FOR IDLE NODES (optional) 
#SuspendProgram= 
#ResumeProgram= 
#SuspendTimeout= 
#ResumeTimeout= 
#ResumeRate= 
#SuspendExcNodes= 
#SuspendExcParts= 
#SuspendRate= 
#SuspendTime= 
# 
# 
# COMPUTE NODES 
NodeName=VM-[669-671] CPUs=1 Sockets=1 CoresPerSocket=1 ThreadsPerCore=1 
State=UNKNOWN 
PartitionName=SLURM-debug Nodes=VM-[669-671] Default=YES MaxTime=INFINITE 
State=UP 




----- Mail original -----


De: "Nancy Kritkausky" <nancy.kritkau...@bull.com> 
À: "slurm-dev" <slurm-dev@schedmd.com> 
Envoyé: Mercredi 18 Septembre 2013 18:29:56 
Objet: [slurm-dev] RE: can't make "sacct" 



Hello Siva, 
There is not a lot of information to go on from your email. What type of 
accounting do you have configured? What does your slurm.conf and slurmdbd.conf 
file look like? I would also suggest looking at your slurmdbd.log and 
slurmd.log to see what is going on, or sending them to the dev list. 
Nancy 



From: Sivasangari Nandy [mailto:sivasangari.na...@irisa.fr] 
Sent: Wednesday, September 18, 2013 9:02 AM 
To: slurm-dev 
Subject: [slurm-dev] can't make "sacct" 


Hi, 



Hey does anyone know why my "sacct" command doesn't work ? 

I got this : 

root@VM-667:/omaha-beach/workflow# sacct 



JobID JobName Partition Account AllocCPUS State ExitCode 

------------ ---------- ---------- ---------- ---------- ---------- -------- 

/var/log/slurm_jobacct.log: No such file or directory 


advance thanks, 

Siva 

-- 





-- 

Siva sangari NANDY - Plate-forme GenOuest 
IRISA-INRIA, Campus de Beaulieu 
263 Avenue du Général Leclerc 

35042 Rennes cedex, France 
Tél: +33 (0) 2 99 84 25 69 

Bureau : D152 

Reply via email to