{"id":1471,"date":"2023-11-30T13:19:35","date_gmt":"2023-11-30T05:19:35","guid":{"rendered":"https:\/\/airy.cn\/WordPress\/?p=1471"},"modified":"2023-12-03T12:15:47","modified_gmt":"2023-12-03T04:15:47","slug":"%e5%88%a9%e7%94%a8torque-6-1-2maui-3-3-1%e6%90%ad%e5%bb%bapbs%e8%b0%83%e5%ba%a6%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"https:\/\/airy.cn\/WordPress\/?p=1471","title":{"rendered":"\u5229\u7528torque-6.1.2+maui-3.3.1\u642d\u5efapbs\u8c03\u5ea6\u7cfb\u7edf"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\" id=\"\u7cfb\u7edf\u73af\u5883\u51c6\u5907\">\u7cfb\u7edf\u73af\u5883\u51c6\u5907<\/h3>\n\n\n\n<p><strong>\u672c\u6b21\u642d\u5efa\u7684\u96c6\u7fa4\u7cfb\u7edf\u5305\u62ec2\u53f0\u670d\u52a1\u5668 headnode<\/strong> <strong>\u548c node1<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>###headnode\n&#91;root@test1 ~]# cat \/etc\/redhat-release \nCentOS Linux release 7.6.1810 (Core) \n\n###<strong>node1<\/strong>\n&#91;root@<strong>node1<\/strong> ~]# cat \/etc\/redhat-release \nCentOS Linux release 7.6.1810 (Core) \n\n&#91;root@headnode ~]# lscpu\nArchitecture:          x86_64\nCPU op-mode(s):        32-bit, 64-bit\nByte Order:            Little Endian\nCPU(s):                128\nOn-line CPU(s) list:   0-127\nThread(s) per core:    1\nCore(s) per socket:    64\nSocket(s):             2\nNUMA node(s):          8\nVendor ID:             AuthenticAMD\nCPU family:            23\nModel:                 49\nModel name:            AMD EPYC 7702 64-Core Processor\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u5b89\u88c5\u524d\u51c6\u5907\">\u5b89\u88c5\u524d\u51c6\u5907<\/h3>\n\n\n\n<p><strong>\u5b89\u88c5\u7cfb\u7edf\u5fc5\u8981\u7684\u5e93\u51fd\u6570<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root]# yum install libtool openssl-devel libxml2-devel boost-devel gcc gcc-c++\n<\/code><\/pre>\n\n\n\n<p><strong>\u51c6\u5907\u597d\u5b89\u88c5\u5305<\/strong> <a href=\"https:\/\/support.adaptivecomputing.com\/hpc-cloud-support-portal-2\/\" data-type=\"link\" data-id=\"https:\/\/support.adaptivecomputing.com\/hpc-cloud-support-portal-2\/\">Torque\u5b98\u7f51<\/a>      \u4e5f\u53ef\u4ee5\u5230<a href=\"https:\/\/github.com\/adaptivecomputing\/torque\">github\u4e0b\u8f7d<\/a><\/p>\n\n\n\n<p>torque-6.1.2.zip <\/p>\n\n\n\n<p> <a href=\"https:\/\/support.adaptivecomputing.com\/wp-content\/uploads\/filebase\/maui-downloads\/maui-3.3.1.tar.gz\">Maui Scheduler 3.3.1<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"torque-6-1-2\u5b89\u88c5\u914d\u7f6e\"><a href=\"https:\/\/yaolang-hpc.github.io\/2020\/06\/16\/%E5%88%A9%E7%94%A8torque-6-1-2-maui-3-3-1%E6%90%AD%E5%BB%BApbs%E8%B0%83%E5%BA%A6%E7%B3%BB%E7%BB%9F\/#torque-6-1-2%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a>torque-6.1.2\u5b89\u88c5\u914d\u7f6e<\/h3>\n\n\n\n<p><strong>\u670d\u52a1\u5668\u5b89\u88c5\uff1a headnode\u4f5c\u4e3aserver\u8282\u70b9<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>unzip torque-6.1.2.zip\ncd torque-6.1.2\n.\/autogen.sh\n.\/configure --prefix=\/opt\/pbs_612 --enable-cgroups  --with-scp --with-default-server=test1\nmake -j8 ##\u7f16\u8bd1\nmake install ##\u5b89\u88c5\n\nmake packages ##\u5236\u4f5c\u5b89\u88c5\u5305\ntorque-package-clients-linux-x86_64.sh\ntorque-package-devel-linux-x86_64.sh\ntorque-package-doc-linux-x86_64.sh\ntorque-package-mom-linux-x86_64.sh\ntorque-package-server-linux-x86_64.sh\ncp contrib\/systemd\/pbs_sched.service  \/usr\/lib\/systemd\/system\n\nsource \/etc\/profile.d\/torque.sh ##\u52a0\u8f7d\u73af\u5883\u53d8\u91cf\n .\/torque.setup root ##\u521d\u59cb\u5316\u6570\u636e\u5e93\n \n ##\u542f\u52a8\u670d\u52a1\n systemctl enable pbs_server\n systemctl enable pbs_mom\n systemctl enable pbs_sched\n systemctl enable trqauthd\n \n vim \/var\/spool\/torque\/server_priv\/nodes ###\u6dfb\u52a0\u8ba1\u7b97\u8282\u70b9\n <strong>node1<\/strong>  np=128\n <strong>node<\/strong>2  np=128\n \n ###\u6307\u5b9a\u670d\u52a1\u7aef\u8282\u70b9\n vim \/var\/spool\/torque\/mom_priv\/config\n pbsserver head4\n logevent 255\n \n ###\u542f\u52a8\u670d\u52a1\n systemctl restart pbs_server\n systemctl restart pbs_mom\n systemctl restart pbs_sched\n systemctl restart trqauthd\n \n qnodes ###\u67e5\u770b\u8282\u70b9\u72b6\u6001\u6216\u8005pbsnodes -a\n<\/code><\/pre>\n\n\n\n<p><strong>\u5b89\u88c5maui<\/strong><\/p>\n\n\n\n<p>torque\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4f7f\u7528pbs_sched\u7ba1\u7406\uff0c\u4f46\u662f\u8c03\u5ea6\u7b56\u7565\u8fc7\u4e8e\u7b80\u5355\uff0c\u56e0\u6b64\u5efa\u8bae\u5728\u670d\u52a1\u8282\u70b9\u4e0a\u5b89\u88c5maui\u6765\u8fdb\u884c\u4f5c\u4e1a\u8c03\u5ea6\uff0c\u6ce8\u610f\uff1a\u5728\u8ba1\u7b97\u8282\u70b9\u4e0a\u65e0\u987b\u5b89\u88c5maui<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tar -xvf maui-3.3.1.tar.gz\ncd maui-3.3.1\n.\/configure --prefix=\/opt\/pbs_612\/maui_331 --with-pbs=\/opt\/pbs_612\nmake -j8&amp;&amp;make install\ncp maui.cfg.dist \/opt\/pbs_612\/maui_331\/maui.cfg\nvim maui.cfg\nSERVERHOST            headnode\n# primary admin must be first in list\nADMIN1                root\n# Resource Manager Definition\nRMCFG&#91;TEST1] TYPE=PBS@RMNMHOST@RMTYPE&#91;0] PBS\n\ncp contrib\/service-scripts\/redhat.maui.d \/etc\/init.d\/maui\nchmod +x \/etc\/init.d\/maui\nvim \/etc\/init.d\/maui\nMAUI_PREFIX=\/opt\/pbs_612\/maui_331\ndaemon --user root $MAUI_PREFIX\/sbin\/maui ###\u5c06\u7528\u6237\u540d\u6539\u4e3aroot\n\n\/etc\/init.d\/maui start ###\u542f\u52a8maui\n\nsystemctl disable pbs_sched\nsystemctl stop maui   ###\u505c\u6b62maui\u670d\u52a1<\/code><\/pre>\n\n\n\n<p><strong>\u5ba2\u6237\u7aef\u8282\u70b9\u5b89\u88c5<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>scp torque-package-clients-linux-x86_64.sh torque-package-mom-linux-x86_64.sh test2:~\n###\u767b\u5f55\u5230test2\u8282\u70b9\u8fdb\u884c\u5b89\u88c5\n.\/torque-package-clients-linux-x86_64.sh --install\n.\/torque-package-mom-linux-x86_64.sh --install\n\n###\u914d\u7f6e\u670d\u52a1\u7aef\u8282\u70b9\nvim \/var\/spool\/torque\/mom_priv\/config\npbsserver headnode\nlogevent 255\n\n###\u542f\u52a8\u670d\u52a1\nsystemctl enable pbs_mom\nsystemctl enable trqauthd\n \nsystemctl restart pbs_mom\nsystemctl restart trqauthd<\/code><\/pre>\n\n\n\n<p><strong>\u6d4b\u8bd5\u4f5c\u4e1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>###\u521b\u5efa\u5171\u4eab\u76ee\u5f55\u548c\u7528\u6237test,\u5efa\u7acb\u514d\u5bc6\necho sleep 30 | qsub<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/zhuanlan.zhihu.com\/p\/387947448\">https:\/\/zhuanlan.zhihu.com\/p\/387947448<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7cfb\u7edf\u73af\u5883\u51c6\u5907 \u672c\u6b21\u642d\u5efa\u7684\u96c6\u7fa4\u7cfb\u7edf\u5305\u62ec2\u53f0\u670d\u52a1\u5668 headnode \u548c node1 \u5b89\u88c5\u524d\u51c6\u5907 \u5b89\u88c5\u7cfb\u7edf\u5fc5\u8981\u7684\u5e93 &#8230; <a title=\"\u5229\u7528torque-6.1.2+maui-3.3.1\u642d\u5efapbs\u8c03\u5ea6\u7cfb\u7edf\" class=\"read-more\" href=\"https:\/\/airy.cn\/WordPress\/?p=1471\" aria-label=\"\u9605\u8bfb \u5229\u7528torque-6.1.2+maui-3.3.1\u642d\u5efapbs\u8c03\u5ea6\u7cfb\u7edf\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1471","post","type-post","status-publish","format-standard","hentry","category-airy-tech"],"_links":{"self":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1471","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1471"}],"version-history":[{"count":10,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1471\/revisions"}],"predecessor-version":[{"id":1484,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=\/wp\/v2\/posts\/1471\/revisions\/1484"}],"wp:attachment":[{"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/airy.cn\/WordPress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}