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

$ 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

注:我试过将CPU和其他模块挂载到/var/spool/torque/cgroup目录,但是lssubsys -am仍然显示了与上面相同的信息。我想它们应该是装上去的吧?

最佳答案

节点将使用gethostbyname调用返回的名称向服务器报告。根据您发布的日志行,服务器和节点在该名称上不一致。您可以让pbs_mom返回一个不同的名称,方法是使用-h选项启动它:
http://docs.adaptivecomputing.com/torque/6-0-2/adminGuide/help.htm#topics/torque/commands/pbs_mom.htm#-h
-Hhostname设置妈妈的主机名。这在多主网络上非常有用。”
这相当于在$mom_host node1中设置/var/spool/torque/mom_priv/config

关于linux - 工作站上的TORQUE v6.1.0的节点状态为关闭,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/41345414/

10-10 03:43