Re: qsub 如何指定node

看板Linux作者 (awk sed echo)時間13年前 (2013/01/27 12:44), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
※ 引述《pipidog (如果狗狗飛上天)》之銘言: : 如題,要把job送到cluster上,但是cluster上有某幾個node很不穩, : 想要避開那些node. 知道指定node的命令式 : qsub -q xxxxx abc.sh : 其中那個xxxxx是node的名字,但是這裡我想要的是,指定一堆可以 : 使用的node,讓系統自己從這些node裡面挑出一個. 而不是指定單 : 一的node. 請問該怎麼做呢? 幫你GOOGLE了一下 先看原廠的說法 http://www.pbsworks.com/yaf_pbs/default.aspx?g=posts&t=139 1) configure custom resources on each of the MOMs resources_available.appname=4 ( in case of quad core machine) resources_available.appname=0 ( in case of that particular node that job should not be scheduled). 2) Stop the PBS MOM service on that node 3) Make that node offline 4) qsub -l nodes=hostname1+hostname2+hostname3 (skip the host name for not scheduling job on to that node) 看來123都要admin才作得到 你只剩下四 就是指定node去run 另外還看到一種說法 滿XD的 http://moss.csc.ncsu.edu/~mueller/cluster/arc/faq.html Run an empty job that keeps the bad node busy, then start you real job. echo sleep 600 | qsub -l host=compute-0-100,walltime=1000 用empty job去占用那些不好的node (給老子睡覺去 你們這些bad nodes) 所以...你考慮看看XD 認真說...你還是通知一下admin看看怎麼改善那些node才是上策 Orz -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.252.4
文章代碼(AID): #1H1B2p7R (Linux)
文章代碼(AID): #1H1B2p7R (Linux)