Reedbushò$Æº

1@4EW[ZkB
 s}^zu^6.
>Reedbush (KB?
Ýy©­¿¤£ùHoJq

Reedbushò$Æº2mkoe_K3
:9K'=+8
TMPnq?ð¦"ËĊ /Ė

Reedbushò$Æº3

9K
1. JqaRk4Ĩ1
2. |t41$ ssh-keygen–trsa

3. ĺZ69k$¬4Đ

21$jJqo4É
4. ĺ4+$XFnqQ4Đ 21$
HoJq$XFnqQ%!Ē$ª !
XFnqQ421ŅXFZlqG.(ņ
5. ,r¸sĝ$XFZlqG421
6. ĺ ñÄ21

Reedbushò$Æº4

9K (/ 1. ñÄĺ%|t"1.ssh/
2. |t41$ cd .ssh/
3. |t41Z69k ę 1$ ls
id_rsa id_rsa.pub known_hosts
4. |t$Z69k41id_rsa
Ŋþ±ĺ
id_rsa.pub ŊĻĺ
$Ļĺ$ąO8l?Pj4ě  Ņ¼)ņReedbushò$Æº5

ReedbushNK :9K+8• Web[i:CöĹò]qE"7?HF1

https://reedbush-www.cc.u-tokyo.ac.jp/• gqC¡XFnqQ4Đ

21$
HoJq /õĖ2gqC¡XFnqQ421• éÀŊĝī2XFnqQ$))%NGń

Reedbushò$Æº6df*0Koc~lK• ŅĶ{ħÑ"%ÙÌīņReedbushò$Æº7tf|);}^Y

HoJq /Ķ/2òďô  XFnqQ
41

Reedbushò$Æº8oc~l"• Ø$m@9oÖ"XFnqQ§×4å+/21$

ÒXFnqQ4

9Reedbushò$Æº25K"• “Change Language” ÔÛģ"§× )• “Japanese (JA_JP.UTF-8)” 4Ĵ5 “Change”4É• Ĉ3/[i:Cĥ*Ĭ*

1. 4?jM?
2. 4ĴÈ
3. 4?jM?

Reedbushò$Æº

109K+8
1. ¶cSfq$Ļĺ7M\mqQ4?jM?1
2. Ļĺ4Į4?jM?óŁ"Ļĺ4A
Yq7oQ]qFP1
3. ~Ä_Jo4É

Reedbushò$Æºtf|);25"4?jM?

11

12Reedbushò$Æºtf|); :9+8

Ļĺ4]qFP
cat ~/.ssh/id_rsa.pub]qFP¼?jM?

Reedbushò$Æº13tf|); :9+8

]qFPĺ ėü22&OK

Reedbushò$Æºco_NK}^Y

14

Reedbushò$Æº

ReedbushN}^Y• JqaRk/|t41$ ssh reedbush.cc.u-tokyo.ac.jp -l txxxxx
-l%V9Zo´Ð«$Ōtxxxxx%òďô• ËĊ1 ³#/21$ yes 41• ĺ$Ğ®Ö"2Ē æ+XFnqQŅXFZlqGņ41• Ä1m@9o  1

15Reedbushò$Æº16

ReedbushKjfUPCJS7P• JqaRkscpA`oQ4
• $ scp txxxxx@reedbush.cc.u-tokyo.ac.jp:~/a.f90 ./txxxxx%òďô• Reedbushs$^qbO8l?Pj"1 a.f90 4PC$=loP

O8l?Pj"1• O8l?Pj1¥% -r 4Ê®1• $ scp -r txxxxx@reedbush.cc.u-tokyo.ac.jp:~/SAMP ./• Reedbushs$^qbO8l?Pj"1SAMPZ;kK4$vĩPC$=loPO8l?Pj"1

Reedbushò$Æº17

PCKqVY|UReedbushJ-C•

á"JqaRkscpA`oQ4

• $ scp ./a.f90 txxxxx@reedbush.cc.u-tokyo.ac.jp:

txxxxx%òďô• PC$=loPO8l?Pj"1 a.f90 4Reedbushs$^qbO8l?Pj"Č• O8l?PjČ"% -r 4Ê®1• $ scp -r ./SAMP txxxxx@reedbush.cc.u-tokyo.ac.jp:• PC$=loPO8l?Pj"1SAMPZ;kK4

$vĩReedbushs$^qbO8l?Pj"ČReedbushò$Æº18

EmacsKTramp$/JRTqVY| 1IKO• emacs

Ē$XIAo"1z%Trampãđ".1ĲĿZ69k$Î~,đ• Reedbush$þ±ĺ4SSH"öĹ1• emacs 4Ĩ• Z69kÞĆdqQ"1^x ^f ŅŎ%controlņ
• “Find file: ”$î¢$XF¡ĵ4ê|t4
1Ņtxxxxx%Ē$m@9oID"1ņ
Find file:/ssh:txxxxx@reedbush.cc.u-tokyo.ac.jp:• XFZlqG421mq=kZ69k$."Reedbushs$Z69k ċŀ 1

Reedbushò$Æº19

GUIJRTqVY| JWindowsx`D
• FileZilla-WinSCP4

&Æ $XIAoReedbush
ļ$Z69kĪį4GUIÎ~Ė  1• FilzeZilla• https://filezilla-project.org• “Download Filezilla Client”/K:omqQ• B9P`TqEe"\mPAk4SFTP"Ğ®m@<o$ĀŃ
4ĺZ69k"1ŅPutty»¹$ĻĺZ69k ½Ęputtygen".§Í1Ĕņ• WinSCP• https://winscp.net/eng/download.php• \mPAk4SFTP)%SCP"Ğ®1• ^FPĞ®óŁ$Ğ® /SSH-ĢĠ4Ĵ'þ±ĺ4Ê®1ŅOpenSSH»¹pPutty»¹$uÓ"²¾ņ

Reedbushò$Æº20

ReedbushJ@DT%
• /home Z69kDFNb%°ĸ´m@9o"½
Ę!Z69k4Č+$¥Å• /home "ČZ69k%ĜăUqQ[$¯Ė,/ì)5Eh)5• Īį

Ĉ3//lustre Z69kDFNb"ÿ(mv)• )%úË /lustre Z69kDFNb4Ê®Īį
• ^qbO8l?Pj: /home/gt00h/txxxxx• cd A`oQÿ )• LustreO8l?Pj: /lustre/gt00h/txxxxx• cdw A`oQÿ )

Reedbushò$Æº21 8 (1/3)• emacs$ĨŊ emacs ċŀZ69k¡• ^x ^sŅ^%controlņŊN>FP$¬• ^x ^c ŊĈxŅ ^z Ĉx!1FXAo$Ħĕ s 1+ĉ²"
!ņ• ^g Ŋ~ß$êŅğ 3 /!! ",ņ• ^k Ŋ=qIk.0ĖÚ)êêĖ%rÖø"ĝÃ21• ^y Ŋ^kêĖ4î¢$=qIk$¥Å"AYq1• ^s Ð«ŊÐ«$ĂÅ)ÿ1ŅÞĆãđņ
• ^M x goto-lineŊÊ®Ė)ÿ1

Reedbushò$Æº22 8 (2/3)• rm Z69k¡Ŋ Z69k¡$Z69k4ê• rm *~ : test.c~ ! $~ WM?7M\Z69k4êÖ%Âķ"*~ $ļ"ā÷ )ê )
• ls : î¢1Z;kK$vĩ4ę1• cd Z;kK¡ŊZ;kK"ÿ1• cd .. : rs$Z;kK"ÿ1• cd ~ Ŋ^qbO8l?Pj"ÿ1• cat Z69k¡ŊZ69k$vĩ4ėü1• make : ¯ĖZ69k4~1ŅMakefile"ĳ!ĝĭ ½Ęņ
• makeclean : ¯ĖZ69k4êŅclean Makefile®č21½Ę

1ņ

Reedbushò$Æº23 8 (3/3)• less Z69k¡ŊZ69k¡$vĩ4ę1ŅF?mq
kÎ~ đ!+1óŁ%)/!¥"ņ• F]qF>q : 1óŁF?mqk• /ŊÐ«$ĂÅ)ÿ• q ŊĈx

Reedbushò$Æº24

co_GKs}^zvK0
Eh[$¯Ė»Á¯ĖÓè"

Reedbushò$Æº25

Reedbush-Hco_pwfacivGKbyr0
• |t$ŉİ00)
• 9oJi?N8[Eh[¯Ė• ōŋ$¯Ė$."A`oQ4¯Ė1Óè
• FXAoð¦%)0rēø!
• OWM?ò©Ěâ¯Ė%

!• Reedbush-H%|t"Ľ®
• ňUqQŅ36A7, 2GPUņŊ15)
• 2UqQŅ72A7, 4GPUņŊ5)

3,_cbqNS
tonj|v/RV;#2sr10UN• WMLEh[¯Ė• WMLEh[DFNb"ï4ł¯Ė1Óè• ¯Ėï4Z69kŅEh[F?j\PņÊü1• FXAoð¦rēø• ©Ěâ¯Ėò• Reedbush-U%Ø©128UqQŅ4,608A7ņ(24Öļ)Reedbushò$Æº26

Yfz]iXr0KQS!
-3,_cbqNS?UI^• A`oQi9o|t4
• 1UqQ¯Ėò
• $ qsub -I -q u-interactive -l select=1-l walltime=01:00 -W group_list=gt00• 4UqQ¯ĖògxrS /IH1/N GZDO

• $ qsub -I -q u-interactive -l select=4-l walltime=01:00 -W group_list=gt00

am}ep`v'RsrAGTM\[M=Z;
5$A*CUN;faNBUI^<Reedbushò$Æº27_oYzK,<HYfz]iXr
0@RMnhg0• Reedbush%AoX9i%WML¯Ė9oJi?

N8[¯Ėİ" )
• ņ IntelAoX9i• CAoX9i: icc, mpiicc (Intel MPI4¥ņ• Fortran90AoX9i: ifort, mpiifort (Intel MPI4¥ņ

28

Reedbushò$Æºnhg &HL• FXAoð¦%İ·%9oJi?N8[¯ĖŅA`oQi9o¯Ė1ņ% )5
• Eh[%WMLï¯Ė)
tondz

j|vR:

ton&ikpyAj|v] YG/{hkugReedbushò$Æº29nhg\wK3KEAF• Reedbush$WMLï%Altairý$WMLDFNb

PBS ProfessionalĄï2)• |twĘA`oQ4ĤÕ)
• Eh[$ÇŊqsub <Eh[F?j\PZ69k¡>• ĒÇEh[$íçûĢŊrbstat• ÇEh[$ľŊqdel <Eh[ID>• WML>fq$íÁ4ę1Ŋrbstat --rsc• WML>fq$ġćàÄ4ę1Ŋrbstat --rsc -x• Ç/21Eh[Ï4ę1Ŋrbstat -b• ı$Çµä4ę1Ŋrbstat -H•
Ö"Ç 1ÏŇ¯Ė 1Ï4ę1Ŋrbstat --limit

Reedbushò$Æºbyrc]{skK#!/bin/bash#PBS -q u-lecture#PBS -Wgroup_list=gt00#PBS -l select=1#PBS -l walltime=00:01:00
cd $PBS_O_WORKDIR. /etc/profile.d/modules.sh30

/EIJ=&QXKM9)RS(PYUG~lkfw
u-lecture'fw
gt00'sr!
0!korW0!sr]>QSGZA1

/"7 8./a.outwf}y]/=loPO8l?PjĞ®ð¦§ÏĞ®Ņ½2 ņReedbushò$Æº31#@4E6.GK\w^|s• ÛëĎv$>fq¡Ŋ• h-tutorial• Ø©10)
• Ø©UqQÏ%2UqQ(4GPU) )
• ÛëĎÖļ|¨Ņ24Öļņ$>fq¡Ŋ• h-lecture• òÜ}%ëĎv$>fq¡ á• @kq\¡Ŋgt00hReedbushò$Æº32

rbstat --rsc K0);
$ rbstat --rscQUEUESTATUS
u-debug[ENABLE ,START]
u-short[ENABLE ,START]
u-regular[ENABLE ,START]|---- u-small[ENABLE ,START]|---- u-medium[ENABLE ,START]|---- u-large[ENABLE ,START]|---- u-x-large[ENABLE ,START]
u-interactive[ENABLE ,START]|---- u-interactive_1 [ENABLE ,START]|---- u-interactive_4 [ENABLE ,START]
u-lecture[ENABLE ,START]
u-lecture8[DISABLE,START]
u-tutorial[ENABLE ,START]?Zdz
(~lkfw)%?Z@NODE54162882882882885454545454srR'.!

33

Reedbushò$Æºrbstat --rsc -x K0);
$ rbstat --rsc -x
QUEUE
STATUSMIN_NODE MAX_NODE MAX_ELAPSE REMAIN_ELAPSE MEM(GB)/NODEu-debug[ENABLE ,START]
1
24 00:30:00
00:30:00
244GB
u-short[ENABLE ,START]
1
8 02:00:00
02:00:00
244GB
u-regular[ENABLE ,START]|---- u-small[ENABLE ,START]
4
16 12:00:00
12:00:00
244GB|---- u-medium[ENABLE ,START]17
32 12:00:00
12:00:00
244GB|---- u-large[ENABLE ,START]33
64 12:00:00
12:00:00
244GB|---- u-x-large[ENABLE ,START]
65
128 06:00:00
06:00:00
244GB
u-interactive[ENABLE ,START]|---- u-interactive_1 [ENABLE ,START]
1
1 00:15:00
00:15:00
244GB|---- u-interactive_4 [ENABLE ,START]
2
4 00:05:00
00:05:00
244GB
u-lecture[ENABLE ,START]
1
8 00:10:00
00:10:00
244GB
u-lecture8[DISABLE,START]
1
8 00:10:00
00:10:00
244GB
u-tutorial[ENABLE ,START]
18 00:10:00
00:10:00
244GB

?Zdz
(~lkfw)%?Z@srR/PROJECT
pz0105,gcXX
pz0105,gcXX
gcXX,pz0105
gcXX
gcXX
gcXX
pz0105,gcXX
pz0105,gcXX
gt00,gtYY
gtYY
gt00

264,NSLRVReedbushò$Æº34

rbstat --rsc -b K0);
$ rbstat --rsc –b
QUEUE
STATUSTOTAL RUNNING QUEUED HOLD BEGUN WAIT EXIT TRANSIT NODE
u-debug[ENABLE ,START]
11000000 54
u-short[ENABLE ,START]
93510000 16
u-regular[ENABLE ,START]|---- u-small[ENABLE ,START]
38106 220000 288|---- u-medium[ENABLE ,START]
22000000 288|---- u-large[ENABLE ,START]
42020000 288|---- u-x-large[ENABLE ,START]
10100000 288
u-interactive[ENABLE ,START]|---- u-interactive_1 [ENABLE ,START]
00000000 54|---- u-interactive_4 [ENABLE ,START]
00000000 54
u-lecture[ENABLE ,START]
00000000 54
u-lecture8[DISABLE,START]
00000000 54
u-tutorial[ENABLE ,START]
00000000 54

?Zdz
(~lkfw)%?
Z@j|v /FM
R+! =Zj|v
R!

JE[M=Zj|v
R!

srR
'.
!