节点状态=在工作站上使用TORQUE v6.1.0关闭

时间:2016-12-27 12:40:14

标签: linux torque cgroups

我在Ubuntu 16.04工作站上安装Torque 6.1.0,但是 安装似乎无法识别多少核心和线程 机器有。我设置的唯一节点显示状态为“state = down”和 任何工作都会触发错误,说“没有足够的正确类型 节点“。实际上,工作站有56个线程或28个物理核心 在2个处理器上,我只想使用54个线程或27个物理内核 用于共享计算作业。我意识到这可能与从Torque V6.0开始的cgroup或NUMA的配置有关,如果我在安装时做的正确,我不会这样做。我确实启用了cgroup,但不确定我是否还需要配置启用NUMA感知功能。以下是当前配置的一些输出。我该怎么办?感谢。

$ pbsnodes
node1
 state = down
 power_state = Running
 np = 54
 ntype = cluster
 mom_service_port = 15002
 mom_manager_port = 15003
 total_sockets = 0
 total_numa_nodes = 0
 total_cores = 0
 total_threads = 0
 dedicated_sockets = 0
 dedicated_numa_nodes = 0
 dedicated_cores = 0
 dedicated_threads = 0


$ lssubsys -am
cpuset /sys/fs/cgroup/cpuset
cpu,cpuacct /sys/fs/cgroup/cpu,cpuacct
blkio /sys/fs/cgroup/blkio
memory /sys/fs/cgroup/memory
devices /sys/fs/cgroup/devices
freezer /sys/fs/cgroup/freezer
net_cls,net_prio /sys/fs/cgroup/net_cls,net_prio
perf_event /sys/fs/cgroup/perf_event
hugetlb /sys/fs/cgroup/hugetlb
pids /sys/fs/cgroup/pids

还有一个可疑的部分似乎服务器无法看到我已在服务器的配置文件中定义的节点。这可以在/var/spool/torque/server_logs日志文件中看到:

12/27/2016 15:48:33.147;01;PBS_Server.2692;Svr;PBS_Server;LOG_ERROR::get_node_from_str, Node node1 is reporting on node NapaValley, which pbs_server doesn't know about
12/27/2016 15:49:18.232;01;PBS_Server.2692;Svr;PBS_Server;LOG_ERROR::get_node_from_str, Node node1 is reporting on node NapaValley, which pbs_server doesn't know about
12/27/2016 15:49:25.491;08;PBS_Server.2696;Job;0.NapaValley;Job deleted at request of cquic@localhost
12/27/2016 15:49:27.023;08;PBS_Server.2657;Job;0.NapaValley;on_job_exit valid pjob: 0.NapaValley (substate=59)
12/27/2016 15:49:32.996;256;PBS_Server.2657;Job;0.NapaValley;dequeuing from batch, state COMPLETE
12/27/2016 15:49:59.722;256;PBS_Server.2696;Job;1.NapaValley;enqueuing into batch, state 1 hop 1
12/27/2016 15:49:59.722;08;PBS_Server.2696;Job;perform_commit_work;job_id: 1.NapaValley
12/27/2016 15:49:59.722;02;PBS_Server.2696;node;close_conn;Closing connection 9 and calling its accompanying function on close
12/27/2016 15:49:59.795;64;PBS_Server.2692;Req;node_spec;job allocation request exceeds currently available cluster nodes, 1 requested, 0 available
12/27/2016 15:49:59.796;08;PBS_Server.2692;Job;1.NapaValley;Job Modified at request of root@localhost
12/27/2016 15:50:03.312;01;PBS_Server.2696;Svr;PBS_Server;LOG_ERROR::get_node_from_str, Node node1 is reporting on node NapaValley, which pbs_server doesn't know about

/etc/hosts上,我有

127.0.0.1 localhost node1
127.0.0.1 NapaValley

PS:我曾尝试将cpu和其他模块挂载到/var/spool/torque/cgroup目录,但lssubsys -am仍显示与上述相同的信息。我想他们应该已经安装好了吗?

1 个答案:

答案 0 :(得分:1)

节点将使用gethostbyname调用返回的名称向服务器报告。根据您发布的日志行,服务器和节点不同意该名称。您可以通过使用-H选项启动pbs_mom返回不同的名称:

http://docs.adaptivecomputing.com/torque/6-0-2/adminGuide/help.htm#topics/torque/commands/pbs_mom.htm#-h

-H hostname设置MOM的主机名。这在多宿主网络上很有用。”

这相当于在$mom_host node1中设置/var/spool/torque/mom_priv/config