使用condor系統如何submit平行運算 - Linux
By Jessica
at 2010-02-27T23:46
at 2010-02-27T23:46
Table of Contents
在unix中管理job的分配有一套叫做condor的系統
如果要丟job到server讓它找你分配cpu來運算,
通常都是使用condor_submit condor.sh
condor.sh是一個shell script大致如下:
universe = vanilla
initialdir = /home/u8/users/burkardt/phoenix_test
executable = foo.sh
log = foo.log
output = foo.output
queue
如果今天在我要跑的job裡面,如上面的foo.sh
有執行了一個套裝軟體(gromacs)內好幾個不同的指令,
只有其中一行是要做平行運算的:
grompp_d xxxxxx
mpirun -np 8 mdrun_mpi_d xxxxxxx
trjconv_d xxxxxxxxx
如上面三行,只有中間一行的指令是做平行運算
這樣子要丟job到condor系統
我把condor.sh改成
universe = MPI
initialdir = /home/u8/users/burkardt/phoenix_test
executable = foo.sh
log = foo.log
output = foo.output
machine_count = 8
queue
然後用condor_submit condor.sh去執行,得不到輸出檔
我也上網去查一些範例,關於MPI的submit,看到的都是單一執行檔
如C語言的xxx.c 或fortran的 xxx.f
可是我要submit的是shell script而且裡面都是commend不是code,
這些commend還是單機還平行的各佔一部份
請問有人知道怎麼樣submit這種shell script到condor系統中呢?
--
如果要丟job到server讓它找你分配cpu來運算,
通常都是使用condor_submit condor.sh
condor.sh是一個shell script大致如下:
universe = vanilla
initialdir = /home/u8/users/burkardt/phoenix_test
executable = foo.sh
log = foo.log
output = foo.output
queue
如果今天在我要跑的job裡面,如上面的foo.sh
有執行了一個套裝軟體(gromacs)內好幾個不同的指令,
只有其中一行是要做平行運算的:
grompp_d xxxxxx
mpirun -np 8 mdrun_mpi_d xxxxxxx
trjconv_d xxxxxxxxx
如上面三行,只有中間一行的指令是做平行運算
這樣子要丟job到condor系統
我把condor.sh改成
universe = MPI
initialdir = /home/u8/users/burkardt/phoenix_test
executable = foo.sh
log = foo.log
output = foo.output
machine_count = 8
queue
然後用condor_submit condor.sh去執行,得不到輸出檔
我也上網去查一些範例,關於MPI的submit,看到的都是單一執行檔
如C語言的xxx.c 或fortran的 xxx.f
可是我要submit的是shell script而且裡面都是commend不是code,
這些commend還是單機還平行的各佔一部份
請問有人知道怎麼樣submit這種shell script到condor系統中呢?
--
Tags:
Linux
All Comments
By Kama
at 2010-03-02T09:21
at 2010-03-02T09:21
By Agatha
at 2010-03-04T12:40
at 2010-03-04T12:40
By Poppy
at 2010-03-09T11:02
at 2010-03-09T11:02
By Mason
at 2010-03-10T08:58
at 2010-03-10T08:58
By John
at 2010-03-12T10:04
at 2010-03-12T10:04
By Jessica
at 2010-03-15T05:04
at 2010-03-15T05:04
By Ophelia
at 2010-03-19T23:29
at 2010-03-19T23:29
By Isla
at 2010-03-24T12:39
at 2010-03-24T12:39
By Sandy
at 2010-03-29T06:41
at 2010-03-29T06:41
By Mason
at 2010-04-01T12:48
at 2010-04-01T12:48
Related Posts
Shell Command Big5的編碼問題
By Delia
at 2010-02-27T11:31
at 2010-02-27T11:31
Shell Command Big5的編碼問題
By Frederica
at 2010-02-27T09:52
at 2010-02-27T09:52
灌好雙系統後進不了xp
By Dorothy
at 2010-02-27T05:43
at 2010-02-27T05:43
裝了vsftp無法登入上傳
By Odelette
at 2010-02-26T23:02
at 2010-02-26T23:02
裝了vsftp無法上傳
By Freda
at 2010-02-26T17:28
at 2010-02-26T17:28