{"id":2858,"date":"2019-04-17T12:20:47","date_gmt":"2019-04-17T04:20:47","guid":{"rendered":"http:\/\/www.chenlianfu.com\/?p=2858"},"modified":"2019-04-17T15:02:36","modified_gmt":"2019-04-17T07:02:36","slug":"%e5%9c%a8centos7%e9%83%a8%e7%bd%b2sge","status":"publish","type":"post","link":"http:\/\/www.chenlianfu.com\/?p=2858","title":{"rendered":"\u5728CentOS7\u90e8\u7f72SGE"},"content":{"rendered":"\n<p>CentOS7\u7684\u7b2c\u4e09\u65b9\u6e90EPEL\u4e0d\u518d\u63d0\u4f9bSGE\uff08Son of Grid Engine\uff09\u8f6f\u4ef6\u4e86\uff0c\u9700\u8981\u81ea\u5df1<a rel=\"noreferrer noopener\" aria-label=\"\u624b\u52a8\u5b89\u88c5SGE\uff08\u5728\u65b0\u7a97\u53e3\u6253\u5f00\uff09\" href=\"https:\/\/github.com\/grisu48\/gridengine\/\" target=\"_blank\">\u624b\u52a8\u5b89\u88c5SGE<\/a>\u3002<\/p>\n\n\n\n<h2>1. \u8bbe\u7f6e\u9632\u706b\u5899\uff0c\u5f00\u653eSGE\u6240\u9700\u8981\u7684\u7aef\u53e3<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># firewall-cmd --add-port=992\/udp --permanent\n# firewall-cmd --add-port=6444\/tcp --permanent\n# firewall-cmd --add-port=6445\/tcp --permanent\n# systemctl restart firewalld.service<\/code><\/pre>\n\n\n\n<h2>2. \u4ece<a rel=\"noreferrer noopener\" aria-label=\"SGE\u5b98\u7f51\uff08\u5728\u65b0\u7a97\u53e3\u6253\u5f00\uff09\" href=\"https:\/\/arc.liv.ac.uk\/trac\/SGE\" target=\"_blank\">SGE\u5b98\u7f51<\/a>\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684SGE\u6e90\u7801\u5305\u5e76\u8fdb\u884c\u7f16\u8bd1\u548c\u5b89\u88c5<\/h2>\n\n\n\n<p>\u5b89\u88c5\u4f9d\u8d56\u7684\u7cfb\u7edf\u8f6f\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># yum install csh java-1.8.0-openjdk java-1.8.0-openjdk-devel gcc ant automake hwloc-devel openssl-devel libdb-devel pam-devel libXt-devel motif-devel ncurses-libs ncurses-devel\n# yum install ant-junit junit javacc<\/code><\/pre>\n\n\n\n<p>\u4e0b\u8f7dSGE\u8f6f\u4ef6\u5e76\u8fdb\u884c\u7f16\u8bd1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ wget https:\/\/arc.liv.ac.uk\/downloads\/SGE\/releases\/8.1.9\/sge-8.1.9.tar.gz -P ~\/software\/\n$ tar zxf ~\/software\/sge-8.1.9.tar.gz\n$ cd sge-8.1.9\/source\n$ .\/scripts\/bootstrap.sh\n$ .\/aimk -no-herd -no-java\n$ .\/aimk -no-herd       # \u8fdb\u884c\u56fe\u5f62\u5316\u5b89\u88c5\uff0c\u4e0d\u592a\u63a8\u8350\u3002\u6211\u5c1d\u8bd5\u4f7f\u7528\u8be5\u65b9\u5f0f\u7f16\u8bd1\uff0c\u5bfc\u81f4\u540e\u7eed\u6ca1\u80fd\u90e8\u7f72\u6210\u529f<\/code><\/pre>\n\n\n\n<p>\u5c06\u7f16\u8bd1\u597d\u7684SGE\u5b89\u88c5\u5230\u6307\u5b9a\u7684\u6587\u4ef6\u5939\uff08\u9700\u8981\u4f7f\u7528root\u7528\u6237\u6267\u884c\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># mkdir \/opt\/sysoft\/sge\n# export SGE_ROOT=\/opt\/sysoft\/sge\n# .\/scripts\/distinst -local -allall -noexit # \u867d\u7136\u666e\u901a\u7528\u6237\u5728\u76ee\u6807\u6587\u4ef6\u5939\u6709\u5199\u6743\u9650\uff0c\u4f46\u662f\u7a0b\u5e8f\u8981\u5bf9\u4e00\u4e9b\u6587\u4ef6\u8fdb\u884c\u6743\u9650\u4fee\u6539\uff0c\u4f7f\u7528root\u7528\u6237\u4e0d\u4f1a\u62a5\u9519\u3002\n# cd ..\/..\/ &amp;&amp; rm sge-8.1.9\/ -rf\n# echo 'export SGE_ROOT=\/opt\/sysoft\/sge' >> ~\/.bashrc\n# echo 'PATH=$PATH:\/opt\/sysoft\/sge\/bin\/:\/opt\/sysoft\/sge\/bin\/lx-amd64\/' >> ~\/.bashrc\n# source ~\/.bashrc    #\u666e\u901a\u7528\u6237\u4e5f\u9700\u8981\u8fdb\u884c\u53d8\u91cf\u8bbe\u7f6e<\/code><\/pre>\n\n\n\n<h2>3. \u90e8\u7f72SGE\u524d\u8bbe\u7f6e\u4e3b\u673a\u540d<\/h2>\n\n\n\n<p>\u90e8\u7f72SGE\u524d\uff0c\u9700\u8981\u8bbe\u7f6e\u597d\u5404\u4e2a\u8282\u70b9\u7684\u4e3b\u673a\u540d\uff0c\u9700\u8981\u4fee\u65393\u4e2a\u6587\u4ef6\u3002\u4fee\u6539\u914d\u7f6e\u6587\u4ef6 \/etc\/sysconfig\/network \u5185\u5bb9\uff1a<br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">NETWORKING=yes<br>HOSTNAME=control <\/pre>\n\n\n\n<p>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6 \/proc\/sys\/kernel\/hostname \u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">control <\/pre>\n\n\n\n<p>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6 \/etc\/hosts \u5185\u5bb9\uff08\u6ce8\u610f\u5220\u9664\u6389127.0.0.1\u548clocalhost\u7684\u884c\uff09\uff1a <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">192.168.30.1 control<br>192.168.30.2 node2<br>192.168.30.3 node3<br>192.168.30.4 node4 <\/pre>\n\n\n\n<h2 id=\"mce_10\">4. \u5728\u6240\u6709\u8282\u70b9\u4e0a\u90e8\u7f72SGE<\/h2>\n\n\n\n<p> \u5728\u7ba1\u7406\u8282\u70b9\u4e0a\u90e8\u7f72SGE\uff1a<\/p>\n\n\n\n<p>cd $SGE_ROOT<br>.\/install_qmaster<\/p>\n\n\n\n<p>\u8fd0\u884c\u90e8\u7f72\u547d\u4ee4\u540e\uff0c\u4f1a\u8fdb\u5165\u4ea4\u4e92\u5f0f\u754c\u9762\u3002\u57fa\u672c\u4e0a\u5168\u90e8\u90fd\u6309Enter\u952e\u4f7f\u7528\u9ed8\u8ba4\u8bbe\u7f6e\u5373\u53ef\u3002\u9700\u8981\u6ce8\u610f\u7684\u4e8b\u9879\u662f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1. \u6709\u4e00\u6b65\u9aa4\u662f\u542f\u52a8Grid Engine qmasster\u670d\u52a1\uff0c\u53ef\u80fd\u4f1a\u542f\u52a8\u4e0d\u4e86\u5bfc\u81f4\u5931\u8d25\u3002\u539f\u56e0\u662f\u591a\u6b21\u8fd0\u884c\u8be5\u547d\u4ee4\u8fdb\u884c\u90e8\u7f72\uff0c\u7b2c\u4e00\u6b21\u4f1a\u6210\u529f\u8fd0\u884cqmaster daemon\uff0c\u4ee5\u540e\u91cd\u65b0\u8fd0\u884c\u8be5\u7a0b\u5e8f\u8fdb\u884c\u90e8\u7f72\u5219\u4f1a\u5931\u8d25\u3002\u9700\u8981\u5220\u9664\u76f8\u5e94\u7684sge_qmaster\u8fdb\u7a0b\u518d\u8fdb\u884c\u90e8\u7f72\u3002 <br>2. \u542f\u52a8Grid Engine qmasster\u670d\u52a1\uff0c\u8981\u63d0\u4f9b\u90e8\u7f72SGE\u7684\u8282\u70b9\u4e3b\u673a\u540d\u4fe1\u606f\uff0c\u6309y\u548cEnter\u952e\u4f7f\u7528\u4e00\u4e2a\u6587\u4ef6\u6765\u63d0\u4f9b\u4e3b\u673a\u4fe1\u606f\uff0c\u8f93\u5165\u6587\u4ef6\u8def\u5f84\/etc\/hosts\u63d0\u4f9b\u4e3b\u673a\u4fe1\u606f\u3002<\/pre>\n\n\n\n<p>\u53ea\u6709\u5148\u8fdb\u884c\u4e00\u4e2a\u63a7\u5236\u8282\u70b9\u90e8\u7f72\u540e\uff0c\u624d\u80fd\u5bf9\u5404\u4e2a\u8ba1\u7b97\u8282\u70b9\u8fdb\u884c\u90e8\u7f72\u3002\u8ba1\u7b97\u8282\u70b9\u7684\u90e8\u7f72\u6bd4\u8f83\u7b80\u5355\uff0c\u4ea4\u4e92\u8fc7\u7a0b\u5168\u90e8\u6309Enter\u5373\u53ef\u3002<\/p>\n\n\n\n<p>.\/install_execd <\/p>\n\n\n\n<h2>4. \u542f\u52a8SGE\u8f6f\u4ef6<\/h2>\n\n\n\n<p>\u90e8\u7f72\u5b8c\u6bd5\u540e\uff0c\u82e5\u9700\u8981\u4f7f\u7528SGE\u8f6f\u4ef6\uff0c\u5219\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u8f7d\u5165SGE\u7684\u73af\u5883\u53d8\u91cf\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ source \/opt\/sysoft\/sge\/default\/common\/settings.sh<\/code><\/pre>\n\n\n\n<p>\u6216\u5c06\u8be5\u4fe1\u606f\u6dfb\u52a0\u5230~\/.bashrc\u4ece\u800c\u6c38\u4e45\u751f\u6548\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ echo 'source \/opt\/sysoft\/sge\/default\/common\/settings.sh' >> ~\/.bashrc\n$ source ~\/.bashrc<\/code><\/pre>\n\n\n\n<p>\u542f\u52a8SGE\u8f6f\u4ef6\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ \/opt\/sysoft\/sge\/default\/common\/sgemaster    # \u63a7\u5236\u8282\u70b9\u542f\u52a8\n$ \/opt\/sysoft\/sge\/default\/common\/sgeexecd     # \u8ba1\u7b97\u8282\u70b9\u542f\u52a8<\/code><\/pre>\n\n\n\n<p>\u67e5\u770bSGE\u8f6f\u4ef6\u8fd0\u884c\u65e5\u5fd7\u6587\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Qmaster:      \/opt\/sysoft\/sge\/default\/spool\/qmaster\/messages<br>Exec daemon:  \/opt\/sysoft\/sge\/default\/spool\/&lt;hostname&gt;\/messages<\/pre>\n\n\n\n<h2>5. \u4f7f\u7528SGE\u8f6f\u4ef6<\/h2>\n\n\n\n<p>\u90e8\u7f72\u5b8c\u6bd5SGE\u540e\uff0c\u4f1a\u751f\u6210\u4e00\u4e2a\u9ed8\u8ba4\u4e3b\u673a\u7528\u6237\u7ec4@allhosts\uff0c\u5b83\u5305\u542b\u6240\u6709\u7684\u6267\u884c\u8282\u70b9\uff1b\u751f\u6210\u4e00\u4e2a\u9ed8\u8ba4\u7684all.q\u961f\u5217\u540d\uff0c\u5b83\u5305\u542b\u6240\u6709\u8282\u70b9\u6240\u6709\u8ba1\u7b97\u8d44\u6e90\u3002\u9ed8\u8ba4\u7684\u961f\u5217\u5305\u542b\u7684\u8ba1\u7b97\u8d44\u6e90\u662f\u6700\u5927\u7684\u3002 \u901a\u8fc7\u4f7f\u7528\u547d\u4ee4qconf -mq queuename\u6765\u5bf9\u961f\u5217\u8fdb\u884c\u914d\u7f6e\u3002\u4fee\u6539hostlist\u6765\u914d\u7f6e\u8be5\u961f\u5217\u53ef\u4ee5\u4f7f\u7528\u6267\u884c\u4e3b\u673a\uff1b\u4fee\u6539slots\u6765\u914d\u7f6e\u5404\u53f0\u6267\u884c\u4e3b\u673a\u53ef\u4f7f\u7528\u7684\u7ebf\u7a0b\u6570\u3002\u4ece\u800c\u5bf9\u961f\u5217\u7684\u8ba1\u7b97\u8d44\u6e90\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n\n\n\n<p>\u4f7f\u7528qconf\u547d\u4ee4\u5bf9SGE\u8fdb\u884c\u914d\u7f6e\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>qconf -ae hostname\n    \u6dfb\u52a0\u6267\u884c\u4e3b\u673a\nqconf -de hostname\n    \u5220\u9664\u6267\u884c\u4e3b\u673a\nqconf -sel\n    \u663e\u793a\u6267\u884c\u4e3b\u673a\u5217\u8868\n\nqconf -ah hostname\n    \u6dfb\u52a0\u7ba1\u7406\u4e3b\u673a\nqconf -dh hostname\n    \u5220\u9664\u7ba1\u7406\u4e3b\u673a\nqconf -sh\n    \u663e\u793a\u7ba1\u7406\u4e3b\u673a\u5217\u8868\n\nqconf -as hostname\n    \u6dfb\u52a0\u63d0\u4ea4\u4e3b\u673a\nqconf -ds hostname\n    \u5220\u9664\u63d0\u4ea4\u4e3b\u673a\nqconf -ss\n    \u663e\u793a\u63d0\u4ea4\u4e3b\u673a\u5217\u8868\n\nqconf -ahgrp groupname\n    \u6dfb\u52a0\u4e3b\u673a\u7528\u6237\u7ec4\nqconf -mhgrp groupname\n    \u4fee\u6539\u4e3b\u673a\u7528\u6237\u7ec4\nqconf -shgrp groupname\n    \u663e\u793a\u4e3b\u673a\u7528\u6237\u7ec4\u6210\u5458\nqconf -shgrpl\n    \u663e\u793a\u4e3b\u673a\u7528\u6237\u7ec4\u5217\u8868\n\nqconf -aq queuename\n    \u6dfb\u52a0\u96c6\u7fa4\u961f\u5217\nqconf -dq queuename\n    \u5220\u9664\u96c6\u7fa4\u961f\u5217\nqconf -mq queuename\n    \u4fee\u6539\u96c6\u7fa4\u961f\u5217\u914d\u7f6e\nqconf -sq queuename\n    \u663e\u793a\u96c6\u7fa4\u961f\u5217\u914d\u7f6e\nqconf -sql\n    \u663e\u793a\u96c6\u7fa4\u961f\u5217\u5217\u8868\n\nqconf -ap PE_name\n    \u6dfb\u52a0\u5e76\u884c\u5316\u73af\u5883\nqconf -mp PE_name\n    \u4fee\u6539\u5e76\u884c\u5316\u73af\u5883\nqconf -dp PE_name\n    \u5220\u9664\u5e76\u884c\u5316\u73af\u5883\nqconf -sp PE_name\n    \u663e\u793a\u5e76\u884c\u5316\u73af\u5883\nqconf -spl\n    \u663e\u793a\u5e76\u884c\u5316\u73af\u5883\u540d\u79f0\u5217\u8868\n\nqstat -f\n    \u663e\u793a\u6267\u884c\u4e3b\u673a\u72b6\u6001\nqstat -u user\n    \u67e5\u770b\u7528\u6237\u7684\u4f5c\u4e1a\nqhost\n    \u663e\u793a\u6267\u884c\u4e3b\u673a\u8d44\u6e90\u4fe1\u606f<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528qsub\u63d0\u4ea4\u4f5c\u4e1a<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>qsub\u7b80\u5355\u793a\u4f8b\uff1a\n$ qsub -V -cwd -o stdout.txt -e stderr.txt run.sh\n\n\u5176\u4e2drun.sh\u4e2d\u5305\u542b\u9700\u8981\u8fd0\u884c\u7684\u7a0b\u5e8f\uff0c\u5176\u5185\u5bb9\u793a\u4f8b\u4e3a\u5982\u4e0b\u4e09\u884c\uff1a\n#!\/bin\/bash\n#$ -S \/bin\/bash\nperl -e 'print \"abc\\n\";print STDERR \"123\\n\";'\n\nqsub\u7684\u5e38\u7528\u53c2\u6570\uff1a\n-V\n    \u5c06\u5f53\u524dshell\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u8f93\u51fa\u5230\u672c\u6b21\u63d0\u4ea4\u7684\u4efb\u52a1\u4e2d\u3002\n-cwd\n    \u5728\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\u8fd0\u884c\u7a0b\u5e8f\u3002\u9ed8\u8ba4\u8bbe\u7f6e\u4e0b\uff0c\u7a0b\u5e8f\u7684\u8fd0\u884c\u76ee\u5f55\u662f\u5f53\u524d\u7528\u6237\u5728\u5176\u8ba1\u7b97\u8282\u70b9\u7684\u5bb6\u76ee\u5f55\u3002\n-o\n    \u5c06\u6807\u51c6\u8f93\u51fa\u6dfb\u52a0\u5230\u6307\u5b9a\u6587\u4ef6\u5c3e\u90e8\u3002\u9ed8\u8ba4\u8f93\u51fa\u6587\u4ef6\u540d\u662f$job_name.o$job_id\u3002\n-e\n    \u5c06\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u6dfb\u52a0\u5230\u6307\u5b9a\u6587\u4ef6\u5c3e\u90e8\u3002\u9ed8\u8ba4\u8f93\u51fa\u6587\u4ef6\u540d\u662f$job_name.e$job_id\u3002\n-q\n    \u6307\u5b9a\u6295\u9012\u7684\u961f\u5217\uff0c\u82e5\u4e0d\u6307\u5b9a\uff0c\u5219\u4f1a\u5c1d\u8bd5\u5bfb\u627e\u6700\u5c0f\u8d1f\u8377\u4e14\u6709\u6743\u9650\u7684\u961f\u5217\u5f00\u59cb\u4efb\u52a1\u3002\n-S\n    \u6307\u5b9a\u8fd0\u884crun.sh\u4e2d\u547d\u4ee4\u884c\u7684\u8f6f\u4ef6\uff0c\u9ed8\u8ba4\u662ftcsh\u3002\u63a8\u8350\u4f7f\u7528bash\uff0c\u8bbe\u7f6e\u8be5\u53c2\u6570\u7684\u503c\u4e3a \/bin\/bash \u5373\u53ef\uff0c\u6216\u8005\u5728run.sh\u6587\u4ef6\u9996\u90e8\u6dfb\u52a0\u4e00\u884c#$ -S \/bin\/bash\u3002\u82e5\u4e0d\u8bbe\u7f6e\u4e3abash\uff0c\u5219\u4f1a\u5728\u6807\u51c6\u8f93\u51fa\u4e2d\u7ed9\u51fa\u8b66\u544a\u4fe1\u606f\uff1aWarning: no access to tty (Bad file descriptor)\u3002\n-hold_jid\n    \u540e\u63a5\u591a\u4e2a\u4f7f\u7528\u9017\u53f7\u5206\u9694\u7684job_id\uff0c\u8868\u793a\u53ea\u6709\u5728\u8fd9\u4e9bjob\u8fd0\u884c\u5b8c\u6bd5\u540e\uff0c\u624d\u5f00\u59cb\u8fd0\u884c\u6b64\u4efb\u52a1\u3002\n-N\n    \u8bbe\u7f6e\u4efb\u52a1\u540d\u79f0\u3002\u9ed8\u8ba4\u7684job name\u4e3aqsub\u7684\u8f93\u5165\u6587\u4ef6\u540d\u3002\n-p\n    \u8bbe\u7f6e\u4efb\u52a1\u4f18\u5148\u7ea7\u3002\u5176\u53c2\u6570\u503c\u8303\u56f4\u4e3a -1023 ~ 1024 \uff0c\u8be5\u503c\u8d8a\u9ad8\uff0c\u8d8a\u4f18\u5148\u8fd0\u884c\u3002\u4f46\u662f\u8be5\u53c2\u6570\u8bbe\u7f6e\u4e3a\u6b63\u6570\u9700\u8981\u8f83\u9ad8\u7684\u6743\u9650\uff0c\u7cfb\u7edf\u666e\u901a\u7528\u6237\u4e0d\u80fd\u8bbe\u7f6e\u4e3a\u6b63\u6570\u3002\n-j y|n\n    \u8bbe\u7f6e\u662f\u5426\u5c06\u6807\u51c6\u8f93\u51fa\u548c\u6807\u51c6\u9519\u8bef\u8f93\u51fa\u6d41\u5408\u5e76\u5230 -o \u53c2\u6570\u7ed3\u679c\u4e2d\u3002\n-pe\n    \u8bbe\u7f6e\u5e76\u884c\u5316\u73af\u5883\u3002<\/code><\/pre>\n\n\n\n<p>\u4efb\u52a1\u63d0\u4ea4\u540e\u7684\u7ba1\u7406\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ qstat -f\n    \u67e5\u770b\u5f53\u524d\u7528\u6237\u5728\u5f53\u524d\u8282\u70b9\u63d0\u4ea4\u7684\u6240\u6709\u4efb\u52a1\uff0c\u4efb\u52a1\u7684\u72b6\u6001\u67094\u4e2d\u60c5\u51b5\uff1aqw\uff0c\u7b49\u5f85\u72b6\u6001\uff0c\u521a\u63d0\u4ea4\u4efb\u52a1\u7684\u65f6\u5019\u662f\u8be5\u72b6\u6001\uff0c\u4e00\u65e6\u6709\u8ba1\u7b97\u8d44\u6e90\u4e86\u4f1a\u9a6c\u4e0a\u8fd0\u884c\uff1bhqw\uff0c\u8be5\u4efb\u52a1\u4f9d\u8d56\u4e8e\u5176\u5b83\u6b63\u5728\u8fd0\u884c\u7684job\uff0c\u5f85\u524d\u9762\u7684job\u6267\u884c\u5b8c\u6bd5\u540e\u518d\u5f00\u59cb\u8fd0\u884c\uff0cqsub\u63d0\u4ea4\u4efb\u52a1\u7684\u65f6\u5019\u4f7f\u7528-hold_jid\u53c2\u6570\u5219\u4f1a\u662f\u8be5\u72b6\u6001\uff1bEqw\uff0c\u6295\u9012\u4efb\u52a1\u51fa\u9519\uff1br\uff0c\u4efb\u52a1\u6b63\u5728\u8fd0\u884c\uff1bs\uff0c\u88ab\u6682\u65f6\u6302\u8d77\uff0c\u5f80\u5f80\u662f\u7531\u4e8e\u4f18\u5148\u7ea7\u66f4\u9ad8\u7684\u4efb\u52a1\u62a2\u5360\u4e86\u8d44\u6e90\uff1bdr\uff0c\u8282\u70b9\u6302\u6389\u540e\uff0c\u5220\u9664\u4efb\u52a1\u5c31\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u72b6\u6001\uff0c\u53ea\u6709\u8282\u70b9\u91cd\u542f\u540e\uff0c\u4efb\u52a1\u624d\u4f1a\u6d88\u5931\u3002\n\n$ qstat -j jobID\n    \u6309\u7167\u4efb\u52a1id\u67e5\u770b\n\n$ qstat -u user\n    \u6309\u7167\u7528\u6237\u67e5\u770b\n\n$ qdel -j jobID\n    \u5220\u9664\u4efb\u52a1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>CentOS7\u7684\u7b2c\u4e09\u65b9\u6e90EPEL\u4e0d\u518d\u63d0\u4f9bSGE\uff08Son of Grid Engi &hellip; <a href=\"http:\/\/www.chenlianfu.com\/?p=2858\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/2858"}],"collection":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2858"}],"version-history":[{"count":8,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/2858\/revisions"}],"predecessor-version":[{"id":2867,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/2858\/revisions\/2867"}],"wp:attachment":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2858"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}