**How to use batch job [#z8fbce8b]
-You can submit batch job on eic system.
||||c
|~ |~''new system''|~old system|
|submit|''qsub''|bsub|
|display job status|''qstat''|bjobs|
|cancel|''qdel''|bkill|
|job scriptfile difinition|''#$''|#BSUB|
----
**Job Class Configuration [#cddb8227]
-You have to select job class when you submit job.
|||||||c
|~Job&br;Class|~RUNTIME|~MEMORY LIMIT|~MAX MEMORY&br; LIMIT|~CPU&br;sockets(cores)|~NUMBER OF JOB&br;|~ETC|
|CENTER:BGCOLOR(#33FF33):|CENTER:BGCOLOR(#33FF33):|CENTER:BGCOLOR(#33FF33):|CENTER:BGCOLOR(#33FF33):|CENTER:BGCOLOR(#33FF33):|CENTER:BGCOLOR(#33FF33):|BGCOLOR(#33FF33):|c
|A|2hours(cputime)|8GB|8GB|1(1)|4|eic|
|B|100hours|64GB|64GB|1(8)|4(32)|eich1~eich8|
|C|20hours|256GB|256GB|4(32)|3(96)|eich1~eich8|
|D|80hours|256GB|256GB|4(32)|1(32)|eich1~eich8|
|E|20hours|512GB|512GB|8(64)|2(128)|eich1~eich8|
|F|80hours|512GB|512GB|8(64)|1(64)|eich1~eich8|
|CENTER:BGCOLOR(#FFFF33):|CENTER:BGCOLOR(#FFFF33):|CENTER:BGCOLOR(#FFFF33):|CENTER:BGCOLOR(#FFFF33):|CENTER:BGCOLOR(#FFFF33):|CENTER:BGCOLOR(#FFFF33):|BGCOLOR(#FFFF33):|c
|G|10hours|2.2TB|2.2TB|36(432)|3(1296)|eicp1~eicp8|
|G|10hours|2.2TB|2.2TB|36(432)|2 (864)|eicp1~eicp8|
|H|40hours|2.2TB|2.2TB|36(432)|1(432)|eicp1~eicp8|

-4 sockets(32 cores) is available on C and D class on eich. C is limited within 20 hours,D is limited within 100 hours. 8 sockets(64 cores) is available on E and F.
-G,H is for MPI or Hybrid on eicp, you can use 432 cores(18 nodes / 36 sockets).
&color(#FF0000){Limit your job within 125GB memory per node on G,H class,or your job will fail.};
-''See following instruction when you use B~H class, you can get detail information.''
--[[Batch Job(B~F)]]
--[[Batch Job(G~H)]]

----
**Running job [#w48d5599]
-Make a job scriptfile and run qsub command.
-Please use A or B class for a single job(non parallel job).
--How to write scriptfile
|~A|~B~F|~G、H|
|#$ -jc A&br;#$ -ac n=1&br;#$ -ac P=1&br;#$ -cwd&br;program name|#$ -jc Job Class&br;#$ -ac n=(8 or 32,64)&br;#$ -ac P=Cores(same as n)&br;#$ -cwd&br;Program name|#$ -jc Job Class&br;#$ -ac n=432(basically 432)&br;#$ -ac P=24(Basically 24)&br;#$ -ac T=OpenMP threads(1 when MPI job)&br;#$ -cwd&br;program name|
&color(#FF0000){#$ -ac T is only for G and H.If you define it with other classes, your job will be rejected.};
~
--Sample scriptfile ~
 #!/bin/csh
 #$ -jc A
 #$ -ac n=1
 #$ -ac P=1
 #$ -cwd
 a.out
-Submit~
run "qsub scritptfile" when you submit.&color(#FF0000){''<(redicection) is unncessary.''};
  eic:~> qsub sample.csh
  Your job 307 ("sample.csh") has been submitted
you can see status by qstat.
  eic:~> qstat
  job-ID     prior  name user   state submit/start           jclass  slots 
  --------------------------------------------------------------------------------
  307 0.55500 sample.csh testuser r     02/12/2015 17:48:10    A.default 32
-Qsub Option(Bold is MUST)
|''#$ -ac n=432''|''Total cores(All job classes)''|
|''#$ -jc G''|''Job class(All job classes)''|
|''#$ -cwd ''|''Run current directory(All job classes)''|
|''#$ -ac P=24''|''Cores per node(All job classes)''|
|''#$ -ac T=1''|''OpenMP threads(only G~H classes)''|
|#$ -o filename|define outout file name|
|#$ -m e |Send E-mail when a job finish|
|#$ -M xxx@xxx.jp |E-mail address|

**Display your job status [#yb473622]
-you can display by qstat.
  eic:~> qstat
  job-ID     prior  name user   state submit/start           jclass  slots 
  --------------------------------------------------------------------------------
  307 0.55500 sample.csh testuser r     02/12/2015 17:48:10    A.default 32
-Run qdel your job ID when you cancel or stop your jobs.
  eic:~/UGE_TEST> qdel 307
  testuser has registered the job 307 for deletion
  eic:~/UGE_TEST> qstat
  eic:~/UGE_TEST>
**Standard output [#z05041a5]
-job's stdout is saved as "scriptfilename.oJOBID" like "sample.sh.o251".Then stderror is saved as "scriptfilename.eJOBID".

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ