HPC in Physics: Condensed Matter Physics

HPC in Physics:
Condensed Matter Physics
Junqi Yin, Ph.D.
UTK, seminar series on HPC, Oct. 15, 2013
Outline
 Why HPC
 Numerical methods VS Simulations
 Molecular Dynamics VS Monte Carlo Method
 Case study: WL-LSMS code
 Summary
2
HPC in Physics
Simulation
David P. Landau and Kurt Binder,
“A guide to Monte Carlo Simulations
In Statistical Physics”
Nature
Theory
Experiment
Schematic view of the relationship between theory, experiment, and
computer simulation.
3
HPC in Physics
Why HPC ?
Water density of state
2150
2600 ≈ 4.15x10180
Junqi Yin and D. P. Landau, J. Chem. Phys. 134, 074501 (2011);
Comp. Phys. Comm. 183, 1568(2012)
4
HPC in Physics
On
Joaftw
arerm
drd oK
e1re
a re s/2od
m
. F u rthpearm
osre
, gthuais
aa
m
7c1e
2g
6n
1y th
.7 b
-1b
0 9e
rty
aebnneth
edra
xoeklo
u
ta
bdle
y h
theea7vn8 3ily
u4rP
muFbs,e4esrduocf h re
fo
sbtoasltc
d eaEvce
eMdg [3
b[3y47 ]th
er cCoem
n te
r fh
vs80 era
longnparomkmede
dcs/4
sgta/io
S
PsaD
P
a8aasto
daa
b an
elsC
s3
ure
hc
y sm
te m
c olo
up
nAtin
pe
e1tsc
2fo
4.3r6 0J a g u3 1a
26 20
l/4 .4
.0
0c,8
3yfo
9hs srte
C
H
], oa
p re
h
m
c
5
1
5
4
1
a
.5
cKklle
a gd ebsya
thth
t w
snta
lle
d sbay, re
th e
uescetiv
rse; ly
a1an.2 cm
on of n
suosm
ftw
acre
e 8e4uure
saerin
rs
in
taenric
easlinopsnata
a
d
R
o
s
p
O
v
e
ra
ll,
vara
sp k e n , J1 a
7 8g
3
3
n
a
m
d
/2
.7
b
1
/
2
5
7
6
3
u.0
ro
je cM
c9oP
n tin
g1ic2h
stio
y siste
1 7ta
4 5. IO R 1is
3 fo llo
spw
rneg d
/2A
7cd
3S
lyA
sM
is
at 1anP
re
n mosf. So to
rme
(CsaA Ptm
S o).sTp h
u s. Te woo
asprcrnhgiv in g d a
bsnbyea/r/p
L
,uw
hdic
f th
he
e re
e r/1e
0 lin k lin e1 s
8 3 0re c o 7rd e d
e x a m p le is fftpwrfa c[1
k 3 ]. B2y0 1 4e1 x a m1 9in inagm bth
F5ig u re s 11a5n7d1 2 s h o1w3 th e to p 1 0 m o s t C-c
Po
Un s u m in g
th
e
d
a
ta
s
h
o
w
s
th
a
t
th
e
m
o
s
t
u
s
e
d
c
o
d
e
s
a
re
d
o
m
in
a
te
d
b
y
a
rp
a
ck
1
7
2
1
1
1
p
e
tsc/3
.1
.0
re sso
1 4 5 9 7 in s
2 0 lle
am
r/1y
1 th e s ta1ff
081
4 g u a r,
s ohftw
ra koef nitsis m a inslytru
lim
itee
n du p
db ebth
o waere
v eor n9 7K%
ra rie sb y A L T D w e we sp
c tu
r ds to
h a vp erep- aartic
lao
te4 l0ta
rm in
e u1s015a24ogne Jo1aa0f rp
a p0p0lic
lae
m re
m p s a b le 7 to
0 3 5 d etsp
n ae
m d /2 .81a5t1th
7
a ck/2
8 a tio n s 1o5n4 K
3 ra k e n 1a n d J a g u a r, re s p e c tiv e ly . E a c h
c
la
s
s
ic
a
l
a
n
d
a
b
in
itio
m
o
le
c
u
la
r
d
y
n
a
m
ic
s
p
a
c
k
a
g
e
s
p ro
dears
fro
m ssaim
ruhite
nosu rs
e le
x emc u
ue tiliz
a tio
foW
r ve1e0a4rs
llecdebs ys in
thge oousf sitio
T
he
msu
egola
cal
m ate
cs d w ith
2 8 rfv
cp
.1
.2s a
7 io n 6s in s ta
lv
in
gnPfin
e
e te
n tdp o
r
nta
is.1 p
thtio
e C
U
clkthise am
susosoe
3 mncd /3ow
d13ae
e in g efftp
n eAara
segcpctrodr,mia
lib
ra rie61s37s47 53oth
g slw
4/45,.21.1
408th e r 1tp sl/1 .0 a
.0p/p lic a tio nÕ s1 p
517
4 lo tte d u s in
d E s p re s
6O Mq-e
sp
reS
sso
9 5C
(N
M
D
,
A
m
b
,
G
R
A
C
,
C
P
M
D
,
P
2
K
,
e
is
tru
e
fo
r
th
e
n
u
m
e
ric
a
l
w
e
a
th
e
r
p
re
d
ic
tio
n
c
o
d
e
E
S
M
F
A
th
e
n
a
,
a
C
ra
y
X
T
4
m
a
c
h
in
th
e
a
t
w
a
s
d
e
c
o
m
m
is
s
io
n
c
o
n
s
u
m
e
d
a
n
d
th
e
a
v
e
ra
g
e
c
o
re
s
p
e
r
ru
n
,
w
h
ile
th
e
s
iz
e
o
f
m o d e lin g [)3 5 ], a n d S ib a
1317
35
g sl/1 .1 4
1063
39
h ina gn dtoFoobres cearvsetinthg am
[1
o ad4ck
e]. l
it is nR
oe
t se
ua
rprc
ris
tfftp
S P ). N A M TDABLisE b
y faUr Sth
eB(E
oMrth
sB EtRuOSFsyINesSdTte
aScAM
kN DaoUgd
eeR Slin
bOoNJgAth
ora
the
c irc
le
c0o1
rre
sth
p oe
n rd scto
thae te
to ta l n u m b e r o f e x e c u tio n s . T h e
C ra y p aVt,A
XVI.
AGE
Ym
N Ua
Ap
Nm
CE
SE
GF
UA
Rnm e
w
o
rk
[3
)
],
O
lim
J
u
ly
2
0
1
.
CPU
usage
2011:
2 n) da l JA
p lic adtio
e
(L ib S c i)Library
[8 ] is th e usage
m o s t lin 2011:
ked
In
eveeda, loth
n aK
kfo
e nr ,bth
e cKora
s mk e
o lo
caop
geen
t u csoang
trib
figNuUre
sB EdreR
tra
Ð
oDth
n gaic
gdueapr-gÐa th
KT ra
k eE nIII.a n d LRIBAopRspAlicaaR ,Y w
oAnNTm
a
gd
uea
r,AMpgpth
eRptioLOpnm
eUCSxnEAesSGcAa
daKls
ABL
IV.
IBF/lic
Ro
As
RtT
Y
EuNre
Rte
E Do
B Yre
M
O
F
INd
S,T
Ain
Ns
CEid
Se
A
N
ABL
U ShAile
GE R
KJ
E
D
BE
Y
N
U
Blica
E
IN
S
AN
DA N
o
lin
a
a
tio
p
re
s
e
n
te
c
lu
d
in
g
O
n
R
o
s
a
,
b
e
s
th
e
m
o
le
c
u
la
r
d
y
n
a
m
ic
s
p
a
c
8 ], u s e d fo r th e s im u la tio n o f b la c k T
h ohlee fore
rmsautio
n, p
h are
s seex n
am
in sta n ce s
u se rs
III
s to V (n o te th a t o ntio nR o s a ,in sta
thnece s u se rs
lts
tekp
aJAp[3
pU
lic
n
N U is
M Bn
ER
O
FaUsS E R SKraken(NICS)
ON
G
AaRtio n s th a t c o n s u m e d th e m o s t C P U h o u rs w e re n o t
Jaguar(ORNL)
NR
U M(a
B En
R O
F U SbEe
R
S
Oh
N
Km
R Aa
K rk
EveNrsio
a pKraken(NICS)
p lic a tio n is IO
I/O
n
c
).
T
h
is
o
t
of
u s e dD7 2 amnillio
n
C PoUlyh[3
o u rs], (cwloesoeo1tb0s
% o f th
eatohtaig
l C P U (p e rhoa
N
d elp
va spa
/4n
.6 d c c s m .1 6 3 3 3
8
raA
n kM
e d a m o nd
g th
to p 1 0 2
m ost use
a peprv
n
e d w ith 1 960in
5 s ta n c eiosr_, bae nsch s hno4 9w6 3 5 2 n w p2 a ra
cedxoerre
slicpneasotio
n
dinse.gdahntou sthaoegpetio
n unm
la msme
p se m sw
1 0h5 3
4n
5 one
31 c o
la m
mspid
s/9 se
p
1 0 th a 2
8J
9 9a g u a
6r
h
o
u
rs
c
o
n
s
u
m
e
d
in
2
0
1
1
)
in
3
3
2
c
u
tio
u
s
s
n s ta llesdLuibrpraris
in
g
a
s
it
e
n
e
rs
t
is
instances
users
L ib ra ry/eve
rsio
nu ta binle
sta
n re
ce sla te
u se
rsto c o m m u n ity d e v e lo p m e n t p ro
instances
users
L
ib
ra
ry/
ve
rsio
n
in
sta
n
ce
s
u
se
rs
L
ib
ra
ry
ry
x
e
c
s
d
e sm f
86480
9
n a m d /2 .7 b 1
1400
4
g iv
emno sat p
pelic
a tio
n . Ait m
b aeytt
a
v
e
ra
g
e
o
f
9
8
3
0
4
c
o
re
s
.
N
A
M
D
(th
e
e
x
c
u
te
d
n u m b ceLor ibn sci
ABL
E 1lib
ReO
F IN S
A N.4
C/E S A N D4U7S3E8R3S O NK2R4A5K E N
a7
2 lib
5u
aem2
.6
e cre
teed sto
sTsci/1
tre
-b40aE.5snXV.
dd /2file
lib
sci
7 4U92S7s9A0y7Gs8Ete
39N21U7in
sci/1
4ite
2 2th
2w
9e1as6s4t 7 L
.0
7B Y6m
2M2B0th
s0T.4
u
a astioinn t2
ocdoen dd epnovuseitio
erdteob
lim
fa u lt a t a lln th
sm1beae rnladrg
acphp lic
) islm
ra[3
n k3e],d a
in cs e
rm
o fU
C Pha
Uote
in
sL
taim
lle
mlobnpein
f yCs C
P
u rs
c
va sp
45533
26
la m m p s/1 ju i1 1
477
4
ta ff, aw
nadotlarld
fftw
4
8
7
2
8
1
6
3
fftw
/3
.2
.2
.1
/
4
4
7
7
9
1
0
9
s [2 9 ], a3n
5 9dn5wpw
4a re n o8te3 3a4 8ls
fftw
/3
.2
.2
.1
1
5
9
8
7
1
2
8
o
th
e
u
s
e
o
f
u
tilitie
s
s
p
e
c
ific
a
lly
1
sp
121
17
- d cp /1 .0 .0
A pplication
/M
u saa g
e ,oadt e
5 5llin
m illio
nm
C Pm
U uhn
ou
rs . A
m oth
n ge thsea to
pe1 0
,c
wie
eefinddo m
T hae
a
re
g
C
o
ity
In
m
s
n
c
a ll c o d e s c o m p ile d o n th e s y s te 4m sA. pplica
users
w h ic h is n o t a v a ila b le d i
cm
9281 6 7 4 65users
0 .5tw
.0o/ fu rth e2rinstances
6c 3o 0
3 o lo g 2
6 1l 0
s/1 .31instances
2 4 4ccsm
4
3 5 2 5 5 5 xt-lib
.4io.5
6 9 4lib sci/1version
a n g in gfftw
sm
ic0a8l a p p lic a tio n s : e n z o , w ith 1 2 3 2 5 u s e m a
ve
p eodf fo
ree9Jspu
aresg
urs
a2 rP
F , s7 uaction
hsci/1
a sae dsm
S f/5
P
D 7C11P
, a to2 5o8l1fo
r3
4 3 % adnaedcm
3l lo
3%
th
e
o
n
E
C
H
A
M
[3
4
],
a
c
o
m
p
re
h
e
n
s
iv e egriv
e n e rabl yc irc
u la tio ng
sso
19605
20
.2 .0
s
7 368349
5 1387 1 0 2 5109
.3 .0e /x e c u tio n s9,294547
3a6n0d c a s tro
4 3,19w h ic h w ab
5 3g ro
7 m a cs 5 9 8 4 4 3fftwtrilin
/2
.19od.5
6 4 1a cm
nam
naml/4
d/2.7/
s eru d
n ju s t 8e5dtim
e s re
. trieAvCin
ML
o lo g y a rc h iv in g d a3ta
n a m d /2 .7 b 4
14
.
IO
R
is
fo
llo
w
e
d
b
y
L
A
M
M
P
S
,
w
h
ic
h
is
e s p e c tiv
e ly . O n K2ra
e nit w 2a0s 5 1 4 3a cm
o f.0th
e naJ a tm
or2sth
.CTPwUoh oauprs
pxlic
a
tio
nbosnlesre
lae dcteobdyrdto
bP in
o
n
paprs
el/4
tsc
6 .0
0 .5
03/80 8 8 1 25 820
.4
/ O
7
716237
7pehmeore
3
210
192749
naml/4
d/2.7b2
p e tsc
4 6n k
.4 .0g /ro m a cs/4
3 9 1a cm
a0m d
14
g
u
a
s
t
h
a
b
v
e
e
e
n
c
u
m
L
A
AC
e
e
c
u
ta
(re
e
d
th e u s esrs
lle
d
b
y
th
e
s
ta
ff
o
n
J
a
g
u
a
r,
h
o
w
e
v
e
r
9
7
%
o
f
its
am
ber
71261
18
nam
d/2.7b1-09
7834
4
th e linin
ksp
linta
e
s
re
c
o
rd
e
d
b
y
A
L
T
D
,
p agrm
e tis
1 8 1107 3 9 1 9 1 2 p e tsc/3s.0tru
.0
0 /3e
2a9s suivla
rn g
1745
13
sp rn
/2 .0
b/
th .1
ec tu
S
o1d8ae8[3
e ly
c :tgnP
l Cro++
rDsc h
v2e9 ],paamrtic
rlyp ahdraig
hl dbuire
alleta
assa
e seuam
srfe
ue ric
c ha(a
a s buatintcce
c .1
grom
acs/4.5.3
uhm
fp
a ck
751541
7e
2 4.10
fftw
.2
.2
/s o lv e r (D N1S8)3162
3fo
2 r th e fu
1 5ll12c o m p re s s ib le N a v-S
ie
to
r
k
e
s
,
to
a
t
l
on
n ly
rpgaa
ck
1 a
p ein
.0d5 b y1th
135 u
7 1s e rs
1T3 h e
e re linukatiliz
in
th
p1 7sp2lic
etsc/3
tioenir wa a
fo
r tio
v en1rss1 ioton sth
smta
lle
s/3
am
e
s o lv in g fin ite2576
e le m e n3t p ro b leum
a ris
in cg t fro
e gth
T ABL E XVII. U S A G E B Yvasp
N U M B E R O F IN S T A17884
N CE S A N D U S E R33
S O NR O S A
nam
d/2.7b1/
s eser/p
ro
je
aucpm
cleodb
uwo
noith
tin
a
rp
a
ck
1
1
6
6
1
2
p
a
rm
e
tis/3
.1
.1
1
7
9
3
1
5
e
n
e
rg
y
,
s
p
e
c
ie
s
a
n
d
m
a
s
s
c
o
n
tin
u
ity
q
u
a
tio
n
s
c
o
r
P
ET
tsp
l
1
5
1
7
1
4
a
rp
a
ck/2
0
0
8
1
5
4
3
1
p le m eisn ta
tio
me Nneutlib
ra athl ewr e a wrf
tru
e nfofro
r th
m e, ric
th e r p re d ic tio
n c o d e19E S Mam
F ber/10
20141
1830
7ib a (S
m
o
d
e
lin
g
[
)
3
5
],
a
n
d
S
m
i
u
la
te
B
o
n
e
A
tro
p
h
y
[3
)
6
].
A
p
p
licaA
p
p
lica
tio
n
/
in
sta
n
d
e
ta
ile
d
c
h
e
m
is
try
.
W
e
s
e
e
s
o
m
e
o
f
th
e
s
a
m
e
a
p
p
lic
a
tio
n
s
is
n
o
tw
c
F
ig
u
re
s
1
a
n
d
2
s
h
o
fftp
a
ck
1
0
6
9
2
1
trilin
o
s/1
0
.4
.0
/
1
7
8
6
1
0
ie
s m Cg sl
8in
tp
.0rs.0 /
1517
1 4 u se rs
s sl/1
u se
fro
y . SSuycshte1b4m5etio1hM
vdioe4rlin
wsta
espresso
14597
20 a
am ber/11
1081
4
n ao
ve0
rsio
n O th e r ce
slim
(E ra
a rth
gonuce
Fld
rapm
e
w
o
rk
[3
)
],
c
te
o
n
J
a
g
u
a
r
a
s
o
n
K
ra
k
e
n
,
s
u
c
h
a
s
c
c
s
m
,
H
M
C
(H
y
b
rid
M
o
n
a
te
d
d
in
g
2
)
A
p
p
lic
a
tio
n
u
s
a
g
e
b
y
C
P
U
h
o
u
rs
c
o
n
s
u
m
e
d
sp
6160 6 3 2 913 5640
tsc/3 .1 .0 4 /
1 11052
52
2 510
fftp
ck
1 3 1n 7
3 5 9 5 2 g sl/1lam
.1lin
4 e m d /2 .81 07035
d
13 9 1 2p e
a p p lic a tio n s o n K ra k e n
e cth
t t ath
nam d/2.8
evte
ta
w
e agida popf lic
aa mto
o l nss76u45ca
h4 a ls28 2o mrepspnn aare
muith
o doe lin
a tio
s
e
CT
a rlo
s re
im usla
tio
n spore
f la
ttic
ete
QdC D
[4
)0 ],
aen dpO
mveio
n . uWse sne
o te
rre la
in t2 lm
1
2 7re
m d /2
.7
bn
4 te d , in
2 2c1lu
6 0 d in
6 g
h
e
u
lts
s
e
n
in
th
re
citio
tioc on
grom acs
6345
28
cpm d/3.13.2
1047
6
ed
a
p
p
lic
a
tio
n
Õ
s
p
o
s
n
p a rfe
52167
13
e sp re sso /4 .2 .1
17296
7
aC
lly
eN
c uDte d o n J a g u a r u s in g a v e ry la rg ec o u is
ld a
E NV.
IB
AS
RTYAUNSCEASG
E NRDA N
K E DB Y NthUaMt BHEM
RC
O FisINty
SpTic
AN
E SxeA
nTw
p
a
ra
a
n
d
c
c
s
m
.
ABL
E
IV.
L
IB
R
A
RY
US A
G0 E
R A NTKABL
E7DB d
Y
UM
BE
R1LO
F1RIN
A
cpm
1773
6
q-espresso/4.2.1
950
1
cp
2
k
5
2
1
0
3
cp
2
k/2
1
.1
.2
0
1
1
1
0
0
6
1
0
c
o
rre
s
p
o
n
d
e
d
to
th
e
n
uo5m
b5 eccroore
onsfs),in
shta
nocnaen
sra
okth
f ne
xtuaenvceeuthrt
Application usage
2011:
u
m
e
d
d
e
n
u
m
b
e
r
o
f
c
o
re
s
(a
v
e
ra
g
f
e
5
3
4
w
ile
K
e
N
U
M
B
E
R
O
F
U
S
E
R
S
O
N
R
O
S
A
dthmeo s t p o p u la r n u msibeaNric
ra
ry
U MaBl Elib
R
O
F
U
S
E
R
S
O
N
J
A
G
U
A
R
37443
4
cp 2 k/1 7 .0 8 .2 0 1 0
7838
5
T h e to p 1 0 m o st C PU co n su m in g co d e s o n Kra ke n in 2 0 1 1 ,
g ivFthigeeunrea va1e.pra
pglic
a utio
ero
tte
mcoig
te p
a pa rc
s hbite
e
Jaguar(ORNL)
eC PU
is
m
cohunrslo. co
wAen su
rb(a
u nr dm
3
1e5tric
0 ).
g ro m a cs
32573
13
va sp /5 .2
2965
5
heno th
w a tTth
irc
c oshprre
senprh
e a vecra
g e le
re
r ru
. o n d s to
e E2 .1
.5 v eUrs
FBTEW
is
AKraken(NICS)
BL
X V.
S Aio
Gn
E Bo
Y fNF
UM
R OT
FJaguar(ORNL)
IN ST AEN XVI.
C E S A N DUU
ON
KURMA BK EE RN O F IN S T A N CEshSoAwNinDg U
ABL
SSAEGRESB Y
N
S E RhS
O NJA G
U AmRe d vs ththe
e ch a m users
2 8 4 8 0 L ibLra
1ib
1ry/
va sp
.6 in sta n ce s2users
0 5 3u se rs
3 L ib ra ry/ ve rsio n
instances
in sta n ce s
u se rs
rave
ryrsio
A
t
p
instances
n/4
L ib ra ry
n u m b e r o f C P U h o u rs c o n sfig
u mubere
yds
a nreavpepalic
a tio
n , fo
a rm
l th
at Ð
k e n , it Are
p re-s e n ts a ebsporeusso
t 1 52%
e5sci e sp/ re sso
1 1 3o
3 f th 1
.3 .2
87
c o n s is
lib
6 2/444
07 3 8 3 9 1
0 92 4 57 fftwA/3pplication
.2 .2 .1 /
4497
53
pplica
AApplication
pplica
- /
lib
sci
7
4
9
7
0
3
1
7
lib
sci/1
0
.4
.4
w
aLs0 ] is in g en e ra l instances
users
o lyird m
8 5o3s
5t
4
C p m d /3
.1 3 instances
6 8users
0 users
4
w h ic h is ninstances
o t a v a ila b
le d ire c tly
AL
ic
h
instances
users
M[1
th ed lpth
a p pfro
licm
a tio
nT
s Dth, abtuct oqwnuhesrie
um
tion
version
tion
version
6 0 4424 7 7 9 8 41 0 9 lib sci/1
1 .0 .0 1 /
2806
33
fftw
48728
163
fftwfftw
/3
.2 .2 .1 /
s
y
s
te
m
s
.
b e d e riv e d1919
b y re trie
jonbk_eid
am
s sooncgia th
te ed th
weith
368349
nam
d/2.7/
28 libsci/10.5.02
vasp/4.6
16333
s y s te m anam
scm
. Adl C M L is
c 8tu a lly5109
a8
aior_bench
cm
l .5 .0 /
2 0496352
22294547
06 3 0 3 4 82 019
5 5v8in g th era
d a
to
pq u1
1 7a
19
lib sci/1
0
aprs
192749
20
namlam
d/2.7b2
16237
10 acm
m
ps
105345
31
lam
m
ps/9sep10
2899
6
im
m
o
n
e x e c u ta b le1123
(re c o rd4e4 d in A L T D ) a n d lin k in g th is to eod
l/4.4.0/
trilin
o s.0 /
1 0 9903 6 0
9 43
c o m p ile
r, ohso w e v e7 r5 1w8 e fin d2 5th a t a cm
trilin
l/4 .3
am ber
71261
18
namesm
d/2.7b1-09
7834
4
f
86480
9
nam
d/2.7b1
1400
4
o d e th
tpl/4
sl .4 .0 /
9 7 47 7 2 7
7 3 2 lib sci/1 d
1 .0
.0 4b/ a s e s 9s7 u
4 c h a s3 3b a tc h s y s te m a c c o u n tin g c[3
0 0in
8 c o n ju
5 10
8n c tioagrom
a ta
7]
u sa r, fo r phm
ee xtsc
is51541
ncm
c a m p le , 6
acs/4.5.3
3162
12
am
ber
64725
4
nam d/2.6
692
1
p ad/2.7b1/
rm.0
e tis
9 1 31 8
8 2 93 trilin o s/1 0 .6 .0
731
1
LmTpDile
, rspvasp
a
8u1s0a g e o1f33
9A C M
pnam
eLtsc/3
.0
.1
0
/
8
2
2576
. rm
T heetish ig h117884
vasp
45533
26
lam m ps/1jui11
4 g s y s te m s .
u s e r/p ro je c t477
a c c o u n tin
m.2
fp.2
a ck
8 633484
51 8
9 15
/3 .3 .0 .0
7 2121
1
2 717
uwrf
m fp a ck
773
2 19
4
/3
/
32
20141
amuber/10
1830
nwpar
17 fftw
spdcp/1.0.0
nsc to
re aths ee
d p e rfo rm
n c1ae
fo r c e rta
in fftw
F ig u re s513 2a n d 23s h o w th e to p 1 0 m o s t C -c
PU
onsum
pber/11
e tsc
91 7
sl/1 .0 .0 /
1081
rp a ck
114597
166
1 20
2
pam
a rm
e tis/3 .1 .1 4 625557
9 3 1 1 161
54 tpadios/1.3
ccsm
46
4
[1 ] h ttp
a
r caespresso
Qth
Refa
to
riz
a
tio
a
n
d
e
ig
e
n
v
a
lu
,
e
s
a p p lic a tio n512
s 25o n K ra
. E
lam a
mck
ps
nam
1052
10
mespresso
kls/1 0 .4 .0 / 1 419605
51 7
7 120
2 4k3e n a n d J a g u a r, re s p e c tiv e[2ly
esm f/5.2.0
fftp
1 07035
69
2 40
1
trilin
od/2.8
86
0 libsci/11.0.03/
] M.
y woof upld
a cpgrom
kspalin
g
e
s
in
c
lu
d
in
g
P
E
T
S
c
acs
6345
28
cpm
d/3.13.2
1047
6
grom
acs
8443
9
nam
d/2.7b4
14
1
G
sl
1
1
6
4
fftw
/2
.1
.5
3
4
6
1
6
a p p lic a tio nÕ s p o s itio n is p lo tte d u s in g th e C P U h o Duart
e
1066
16
p e tsc/3 .1 .0 4 /
1152
25
u
c
h
Kin
cpm
d
1773
6
q-espresso/4.2.1
950
1
nam
d
5143
14
grom
acs/4.0.5/
12
1
e x t h ig h e s t ra n k e d . W e n o te th a t
c o n s u m e d a n d th e a v e ra g e c o re s p e r ru n , w h ile
th e
[3 ] J. L
T ABL E V.
L IB R A R Y U S A G E R A N K E DB Y N U M B E R O F IN S T A N CE S A N D
the c irc le c o rre s p o n d s to th e to ta l n u m b e r o f e x e c uSatin
B.
Hadri, M. Fahey,
T. Robinson,
W.OEFRenaud,
Cray
User Conference, 2012
YB
NE
UR
Mand
BE
AN
O
F RU S
RIN
S SOTN
R
OC
SEAS A N D U S E R S O NJA G U A R
ib ra ry T AB L E XV I. U S A G NE UB M
apr
usre re
2. v
eatolp th
mtoÐ
PUrcobno
suth
m in K
g co
n Ja
fig
re
rad ekseo n
agnu adr inJ 2a0g1 1u, [4a] r Ð
ABL E XVII.
U S A G E B Y N U M B E R O F IN
S TuAFig
N CE
S A
N Th
DeU
S E R1S0 a
O
NRstOCSfo
A
cg i?
F F T W is
A pplica AT
pplication
/
sh o w in g C PU h o u rs co n su m e d vs th e a ve ra g e co re s p e r ru n .
instances
users
L ib ra ry/ ve rsio n
ininstances
sta n ce s
uusers
se rs
instances
users
L ib ra ry
[5rs
] hw
ttp
a
p
p
lic
a
tio
n
s
th
a
t
c
o
n
s
u
m
e
d
th
e
m
o
s
t
C
P
U
h
o
u
tion
version
%5 o f th e
HPC in Physics
Numerical methods VS Simulations
lib
sci
ior_bench
6496352
240
109 2
A pplica
fftw
/3
.2 .2 .1vasp/4.6
416333
497
instances
5 38
users
A pplication /
instan
users
[6 ]
h ttp
Molecular Dynamics VS Monte Carlo Simulation
𝐻=
𝑖
𝑃2 𝑖
+
2𝑚
𝐻=
𝑉(|𝑟𝑖 − 𝑟𝑗 |)
𝑖≠𝑗
𝑖≠𝑗
𝜔(𝐻 → 𝐻` ) =
𝑟 𝑡 + ∆𝑡 = 2𝑟 𝑡 − 𝑟 𝑡 − ∆𝑡
+ 𝑎 𝑡 ∆𝑡 2 + 𝑂(∆𝑡 4 )
𝑎=−
𝛻𝑉
𝑚
𝑣→𝑣
𝑉(|𝑟𝑖 − 𝑟𝑗 |)
3𝑁 − 4 𝑇
2𝐾. 𝐸.
(𝐻 ` −𝐻)
− 𝑘 𝑇
𝐵
𝑚𝑖𝑛[1, 𝑒
]
Metropolis algorithm
256 Argon particles in a box
Popular Codes
MD: NAMD, LAMMPS, VASP, etc
MC: HMC, Towhee, etc
For more information: http://www.nics.utk.edu/computing-resources/kraken/software
6
HPC in Physics
Case study: WL-LSMS code
Application: To study magnetic properties of alloy at finite temperature
Thermodynamics
WL (Master node), Monte Carlo
First principle
calculation
LSMS (worker nodes),
Sovle Kohn-Sham eq.
Code performance:
1.836 Petaflop/s on
223,232 cpu cores
(Cray XT5)
M. Eisenbach et al, Supercomputing (2009)
7
HPC in Physics
Case study: WL-LSMS code
M. Eisenbach, etc, SC09
8
Iron specific heat
J. Yin, M. Eisenbach, D.M. Nicolson, and A. Rusanu, Phys.Rev. B 86 214423(2012)
9
HPC in Physics
Summary
 Scale of problem in CMP requires HPC
 Two types of approach: Numerical method and
Simulations
 Most popular simulational methods: Molecular
Dynamics and Monte Carlo simulation
 Still, a lot of work to do…
10
HPC in Physics