Title: Re: [slurm-dev] slurm.conf for single node

Here's a complete slurm.conf which I often use for testing/debugging.

You can safely drop the GresTypes,DebugFlags lines, or add any other from man slurm.conf


ControlMachine=localhost
AuthType=auth/munge
CryptoType=crypto/munge
GresTypes=a,b
MpiDefault=none
ProctrackType=proctrack/cgroup
ReturnToService=0
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmctldPort=6817
SlurmdPidFile=/var/run/slurmd.pid
SlurmdPort=6818
SlurmdSpoolDir=/var/spool/slurmd
SlurmUser=root
StateSaveLocation=/var/spool
SwitchType=switch/none
TaskPlugin=task/cgroup
FastSchedule=0
SchedulerType=sched/backfill
SelectType=select/cons_res
SelectTypeParameters=CR_CPU_Memory
AccountingStorageType=accounting_storage/none
AccountingStoreJobComment=YES
ClusterName=cluster
DebugFlags=Backfill,BackfillMap,CPU_Bind,JobContainer,NodeFeatures,Priority,Protocol,SelectType,Steps,TraceJobs,Triggers,Gres,Energy,Power
JobCompType=jobcomp/none
JobAcctGatherFrequency=30
JobAcctGatherType=jobacct_gather/none
SlurmctldDebug=debug5
SlurmctldLogFile=/var/log/slurm/slurmctld.log
SlurmdDebug=debug5
SlurmdLogFile=/var/log/slurm/slurmd.log
SlurmSchedLogFile=/var/log/slurm/slurmsched.log
SlurmSchedLogLevel=1
NodeName=localhost NodeAddr=127.0.0.1 RealMemory=1 Sockets=1 CoresPerSocket=2 ThreadsPerCore=2 State=UNKNOWN
PartitionName=debug Nodes=localhost Default=YES MaxTime=INFINITE State=UP OverSubscribe=NO


BTW, if building on fedora or any other distro that use hardened flags by default when building packages, you'll have to drop them with something like;

rpmbuild -ta <slurm.tar> --define '_hardened_cflags "-Wl,-z,lazy"' --define '_hardened_ldflags "-Wl,-z,lazy"'


On 06/28/2017 12:27 PM, Sofiane Bendoukha wrote:
slurm.conf for single node
Hello,
 
what the right configuration for a single node (just for testing)?
How should the slurm.conf configured?

Thank you

Gridsof

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to