Oakforest-PACS1
Oakforest-PACS

Oakforest-PACS2    Oakforest-PACS/$3

() '+.!/#71L(78!%*&
1. >IC@E8 '6
2. 8 '6$ ssh-keygen–trsa

3. B9:E/8"76/+D>IH8'
4. 8)3/A;GI?8"76/+
=H>I/A;GI?+0- / $A;GI?876JA;BFI<,52K
5. 4 /A;BFI<876
6. #&76

Oakforest-PACS(4/
1. ")'#$+.ssh/
2. ,!+$ cd .ssh/
3. ,!+&3-/5+$ ls
id_rsa id_rsa.pub known_hosts
4. %(3-/5,!+id_rsa9 
id_rsa.pub 9(( 1.6024,$7 %*!8Oakforest-PACS /5.

$$"$ cat id_rsa.pub
3#"4
6.

“ssh-rsa …” !"$/&)
'*+%1,-2)+ (“02( @.)+ ” !)5Oakforest-PACS

6

Oakforest-PACS (OFP)
• Web,/#%

-2&"$('

https://ofp-www.jcahpc.jp/• .2%+'02*!

(1)2• 4   .2%+'02*!
+'02*NG3Oakforest-PACS 8       Oakforest-PACS

9•$ & #!%'"  #!%'"

Oakforest-PACS101. )%*-SSH+"
2. +"
&-,$'- #
3. (!, 

Oakforest-PACS



11

12

Oakforest-PACS  ~/.ssh/id_rsa.pub“RSA”

Oakforest-PACS  

13

cat ~/.ssh/id_rsa.pub

 Oakforest-PACS 14Oakforest-PACS'

Oakforest-PACS
• 3?95:+.!,$ ssh ofp.jcahpc.jp -l txxxxx
-l(6/8>$  'B
txxxxx()"($ ssh txxxxx@ofp.jcahpc.jp• !,$ &+-,'# yes .!,• ' %-"*"71=?4@718;?2A.!,• !,$<0/># ,15

Oakforest-PACS

Oakforest-PACS

16PC• )82.5scp(17-#• $ scp txxxxx@ofp.jcahpc.jp:~/a.f90 ./txxxxx!
• OFP



083+$6',4" a.f90 #PC &67,+$6',4"• +$6',4"! -r #"• $ scp -r txxxxx@ofp.jcahpc.jp:~/SAMP ./• OFP 083+$6',4"SAMP/%5*# PC &67,+$6',4"Oakforest-PACS

17PC Oakforest-PACS•

'60,3scp&/5+!

• $ scp ./a.f90 txxxxx@ofp.jcahpc.jp:

txxxxx• PC$45*)"4%*2

a.f90 !OFP.61)"

4%*2• )"4%*2 -r ! 
• $ scp -r ./SAMP txxxxx@ofp.jcahpc.jp:• PC$45*)"4%*2 SAMP-#3(!OFP.61)"4%*2Oakforest-PACS0(Emacs Tramp18

• emacs '0@>;F/+,%41$Tramp

/34"A78C02 • OFP0!6SSH/ *4• emacs 6
• A78CBG?/*4^x ^f HJ1controlI• “Find file: ”0 0@< 6)$6
 *4Htxxxxx10E:8FID/*4I
Find file:/ssh:txxxxx@ofp.jcahpc.jp:• @<ADG=654.$EG9CA78C03&/

OFP0A78C'#-(4Oakforest-PACS6

-19GUIWindows  • FileZilla;WinSCP?*86NIEV4OFP$6O@AT• FileZilla?GUI3).4,3->• https://filezilla-project.org• “Download Filezilla Client”+=JBVUXL• FAKRMXGS52PUKET?SFTP5'UDCV6&?"O@AT5/>YPutty
6#"O@AT,'puttygen5<12/>4(Z• WinSCP• https://winscp.net/eng/download.php• PUKET?SFTP:07SCP5/>• QHK%6+=SSH-?!9' "?/>
YOpenSSH
WPutty65 Z

Oakforest-PACS/!

20

Oakforest-PACS
• /home F8:M>@AJ0$"O<:P.
-F8:M)#6"(2/ ,&• /home .(F8:M0EQD4,!1'7?KG/3,!1'7

• 

5*(4/workF8:M>@AJ.(mv)%+")$• 1(0 /workF8:M>@AJ6 %+%+")$• HQJB9N;CL: /home/txxxxx• cd =IPD,,!1&• WorkB9N;CL: /work/gt00/txxxxx

Oakforest-PACS>221

 (1/3)• emacs>,[ emacs %-UJKV• ^x ^sY^?controlZ[QMOR>
• ^x ^c [#Y ^z :#6</4;7F;OSNW>+'11F8A$=6</4;Z• ^g [> Y*1H0D<3<98;2=BZ• ^k [LXPVCE(@:7.68(?=)5GF• ^y [^k:68(I. >LXPV> =NTX7F• ^s  [ >!@: 7FY"&Z• ^M x goto-line[68(@: 7F

Oakforest-PACS

:-22 (2/3)• rm K@CP U K@CP :K@CP?0• rm *~ : test.c~ 87:&~,3)1JGEAGLK@CP?0'*;$9'*~ :%9,24/<*6&4+<0'• ls : )=KDPF:!?=• cd KDPF UKDPF9 0=• cd.. : 3:KDPF9 0=• cd ~ UMRNHBQEIO9 0=• cat K@CP

U K@CP:!?0=• make : K@CP?=SMakefile9#8 ",T• makeclean : K@CP?0
Sclean ,Makefile5 .>4)=,(=TOakforest-PACS$

23 (3/3)• less 0+,22

7 0+,2 $*)5/.34
" '1!%&("#6• /14/-4 : 1/.342• /7 $&!
• q 7

Oakforest-PACS 



24








Oakforest-PACS1'25

Oakforest-PACS   
• 1Y5&#53*• ;TAQ<D:L?PL • \[.1 14%0"=NTG7 )- *6
• @J=T .2"#35./$• EIC<"  2.'/$• OFP.2"0
• XHUGV68=9WZ23.
• 16HUGV1,088=9WZ103.

 
1615• ICB?PL • ICB?PL>@DO07!)- *6•
(+,$7K8;SV?PL@<RMFW.*6• @J=T .• 
• OFP.2" 2048HUGV139,264=9W(24)Oakforest-PACS#

26

Oakforest-PACS  
 (2)• 2# !&67;7=4(• Flat7=4• MCDRAM

DDR467;(")-10

• Cache7=4• MCDRAM$DDR467;#,82.9 • /:5,9="$-flat, -cache (''• )+*<3$Flat7=4%

Oakforest-PACS27 •  
• 1
• $ pjsub --interact –g gt00 –L rg=interactive{flat,cache},elapse=01:00• 16

,3601!

• $ pjsub --interact –g gt00 –L rg=interactive-{flat,cache},node=16,elapse=01:00

'6-4*.&2 170#"!
  5+'6 $
%)(6/ $Oakforest-PACS28     • OFP):3&72-,

&:+7'.%4 • < Intel):3&7• C):3&7: icc, mpiicc (Intel MPI$<• Fortran90):3&7: ifort, mpiifort (Intel MPI$
• KNL= -xMIC-AVX512• 9(&:1;0"586*/1;0-axMIC-AVX512

#<!#:Oakforest-PACS

29



',  ,!+$(),%+, .• *(&#" •-

 
  

30

Oakforest-PACS8/

• OFP68LHG9+

(8LHGDFIQ6

1=5-:3,• +#CPVK>'2:3,• ESN8Ypjsub <ESNFBTOJM?@U>• !.24ESN8&Ypjstat• ESN8*Ypjdel <ESNID>• LHGARW8>$<Ypjstat --rsc

>$<Ypjstat --rsc -x• 0;=5-<ESN>$<Ypjstat -b• ) 8>$<Ypjstat -H•
76/<X "6/<>$<Ypjstat --limit• LHGARW8%

31

Oakforest-PACS  #!/bin/bash#PJM -L rscgrp=lecture-flat#PJM -L node=2#PJM --mpi proc=4#PJM --omp thread=16#PJM -L elapse=0:01:00#PJM -g gt00

 ! " .'2%$/2+
4lecture-flat
*2)

MPI+1&%+1&%"%0() 43

mpiexec.hydra –n ${PJM_MPI_PROC} ./a.out+1$-,# $/2+
4gt00

Oakforest-PACS

32  • #%(• tutorial-flat•  15•  !%
16!% (1088) •  &24 '#%(• lecture-flat• #%
• $%"(gt00

33

Oakforest-PACS

pjstat --rsc 
()$ pjstat --rsc
RSCGRPSTATUS
regular-cache|---- small-cache[ENABLE,START]`---- medium-cache[ENABLE,START]
regular-flat|---- small-flat[ENABLE,START]`---- medium-flat[ENABLE,START]interactive-cache|---- interactive_n1-cache [ENABLE,START]`---- interactive_n16-cache [ENABLE,START]interactive-flat|---- interactive_n1-flat[ENABLE,START]`---- interactive_n16-flat [ENABLE,START]
debug-cache[ENABLE,START]
debug-flat[ENABLE,START]
prepost[ENABLE,START]



NODE
3846
3846
3846
3846



100
100
100
100
234
234
12



34

Oakforest-PACS

pjstat --rsc -x 
$ pjstat --rsc -x
RSCGRPSTATUS
regular-cache|---- small-cache[ENABLE,START]`---- medium-cache[ENABLE,START]
regular-flat|---- small-flat[ENABLE,START]`---- medium-flat[ENABLE,START]interactive-cache|---- interactive_n1-cache [ENABLE,START]`---- interactive_n16-cache [ENABLE,START]interactive-flat|---- interactive_n1-flat [ENABLE,START]`---- interactive_n16-flat [ENABLE,START]
debug-cache[ENABLE,START]
debug-flat[ENABLE,START]
prepost[ENABLE,START] (  )

MIN_NODE MAX_NODE MAX_ELAPSE REMAIN_ELAPSE MEM(GB) PROJECT
1129

128
512

48:00:00
48:00:00

48:00:00
48:00:00

82 pz0105
82 pz0105

1129

128
512

48:00:00
48:00:00

48:00:00
48:00:00

96 pz0105
96 pz0105

12

1
1602:00:00
00:10:00

02:00:00
00:10:00

82 pz0105
82 pz0105

12
1
1
1

1
16
128
128
1

02:00:00
00:10:00
00:30:00
00:30:00
06:00:00

02:00:00
00:10:00
00:30:00
00:30:00
06:00:00

96 pz0105
96 pz0105
82 pz0105
96 pz0105
222 pz0105

  ! "
#

35

Oakforest-PACS

pjstat --rsc -b 
$ pjstat --rsc –b
RSCGRPSTATUS
regular-cache|---- small-cache[ENABLE,START]`---- medium-cache[ENABLE,START]
regular-flat|---- small-flat[ENABLE,START]`---- medium-flat[ENABLE,START]interactive-cache|---- interactive_n1-cache [ENABLE,START]`---- interactive_n16-cache [ENABLE,START]interactive-flat|---- interactive_n1-flat [ENABLE,START]`---- interactive_n16-flat [ENABLE,START]
debug-cache[ENABLE,START]
debug-flat[ENABLE,START]
prepost[ENABLE,START]!%
(#%
$% )




TOTAL RUNNING QUEUED HOLD OTHER

NODE

45
140
1

5000003846
3846

150
7120
330
400003846
3846

0000000000100
100107001040000300000000
00
00

100
100
23423412

"    ""% 