Re: qsub 如何指定node - Linux
By Agatha 
at 2013-01-27T12:44
at 2013-01-27T12:44
Table of Contents
※ 引述《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
 
 
 
--
    : 如題,要把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
--
Tags:
        Linux
        
All Comments
Related Posts
qsub 如何指定node
By Puput 
at 2013-01-27T09:00
at 2013-01-27T09:00
在mac上裝linux
By Lydia 
at 2013-01-26T22:48
at 2013-01-26T22:48
Ubuntu安裝在USB隨身碟大概要多少空間?
By Selena 
at 2013-01-26T20:38
at 2013-01-26T20:38
有關Amazon的public key (.pem檔)
By Elizabeth 
at 2013-01-26T00:03
at 2013-01-26T00:03
執行raid dirver
By Erin 
at 2013-01-25T23:40
at 2013-01-25T23:40