|
你按照我这个配置文件来修改:
- # Slurm.conf file generated by configurator easy.html.
- # Put this file on all nodes of your cluster.
- # See the slurm.conf man page for more information.
- #
- SlurmctldHost=master
- #
- #MailProg=/bin/mail
- MpiDefault=none
- MailProg=/usr/bin/s-nail
- #MpiParams=ports=#-#
- ProctrackType=proctrack/cgroup
- ReturnToService=1
- SlurmctldPidFile=/var/run/slurmctld.pid
- #SlurmctldPort=6817
- SlurmdPidFile=/var/run/slurmd.pid
- #SlurmdPort=6818
- SlurmdSpoolDir=/var/spool/slurmd
- SlurmUser=slurm
- #SlurmdUser=root
- StateSaveLocation=/var/spool/slurmctld
- SwitchType=switch/none
- TaskPlugin=task/affinity
- #
- #
- # TIMERS
- #KillWait=30
- #MinJobAge=300
- #SlurmctldTimeout=120
- #SlurmdTimeout=300
- #
- #
- # SCHEDULING
- SchedulerType=sched/backfill
- SelectType=select/cons_tres
- SelectTypeParameters=CR_Core
- #
- #
- # LOGGING AND ACCOUNTING
- AccountingStorageType=accounting_storage/none
- ClusterName=cluster
- #JobAcctGatherFrequency=30
- JobAcctGatherType=jobacct_gather/none
- #SlurmctldDebug=info
- SlurmctldLogFile= /var/log/slurmctld.log
- #SlurmdDebug=info
- SlurmdLogFile=/var/log/slurmd.log
- #
- #
- # COMPUTE NODES
- PartitionName=batch Nodes=master Default=YES MaxTime=INFINITE State=UP
- NodeName=master CPUs=192 Boards=1 SocketsPerBoard=2 CoresPerSocket=48 ThreadsPerCore=2 RealMemory=257722
复制代码 其中里面的 master 改成你自己的主机的 hostname,然后就是最后一行中的
- NodeName=master CPUs=192 Boards=1 SocketsPerBoard=2 CoresPerSocket=48 ThreadsPerCore=2 RealMemory=257722
复制代码 改成你自己的
|
|