r4 - 22 Dec 2011 - 07:10:46 - GunmoRyuYou are here: KoreaCmsWiki >  UOS Web > CondorSystem

Condor 배치 시스템 이용 가이드

gate.sscc.uos.ac.kr 에서 섭밋

  • 배치파일 작성
    예) sh_loop.cmd
####################
##
## Test Condor command file
##
####################

universe        = vanilla
executable      = sh_loop
output          = sh_loop.out
error           = sh_loop.err
log             = sh_loop.log
arguments       = 60
should_transfer_files = IF_NEEDED
when_to_transfer_output = ON_EXIT
queue

  • Job summit
[ssccuser@gate examples]$ condor_submit sh_loop.cmd
Submitting job(s).
Logging submit event(s).
1 job(s) submitted to cluster 7.
[ssccuser@gate examples]$

  • Queue status
[ssccuser@gate examples]$ condor_q


-- Submitter: gate.sscc.uos.ac.kr : <192.168.10.3:32877> : gate.sscc.uos.ac.kr
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
   7.0   ssccuser         2/21 02:33   0+00:00:01 R  0   0.0  sh_loop 60

1 jobs; 0 idle, 1 running, 0 held
[ssccuser@gate examples]$ 

  • node status
[ssccuser@gate examples]$ condor_status

Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

slot1@t2cpu0001.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:09:11
slot2@t2cpu0001.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:09:10
                                             . . .
slot2@t2cpu0009.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:05
slot3@t2cpu0009.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:06
slot4@t2cpu0009.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:07
slot1@t2cpu0010.ss LINUX      X86_64 Claimed   Busy     0.000   987  0+00:00:01
slot2@t2cpu0010.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:05:16
slot3@t2cpu0010.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:06
slot4@t2cpu0010.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:07
slot1@t2cpu0011.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:04
                                             . . .
slot3@t2cpu0030.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:06
slot4@t2cpu0030.ss LINUX      X86_64 Unclaimed Idle     0.000   987  0+00:10:07

                     Total Owner Claimed Unclaimed Matched Preempting Backfill

        X86_64/LINUX   120     0       1       119       0          0        0

               Total   120     0       1       119       0          0        0
[ssccuser@gate examples]$

  • Job delete
[ssccuser@gate examples]$ condor_q


-- Submitter: gate.sscc.uos.ac.kr : <192.168.10.3:32877> : gate.sscc.uos.ac.kr
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD
   7.0   ssccuser         2/21 02:33   0+00:00:01 R  0   0.0  sh_loop 60

1 jobs; 0 idle, 1 running, 0 held
[ssccuser@gate examples]$ condor_rm 7.0
Job 7.0 marked for removal
[ssccuser@gate examples]

Condor 명령어요약

명령 설명 사용예
condor_submit 일을 맡김 condor_submit sh_loop.cmd
condor_q 대기열 확인  
condor_status 노드상태확인  
condor_rm 맡긴일 삭제 condor_rm 7.0
condor_release hold된 일을 풀어줌 condor_release -all

-- YusangKim - 10 Aug 2008

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
UOS.CondorSystem moved from UOS.CondorSystem on 22 Dec 2011 - 07:10 by GunmoRyu - put it back
 
KOREA-CMS
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding KoreaCmsWiki? Send feedback