CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

41
CMSI C (2015/10/08) ALPS / / NIMS [email protected]

Transcript of CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

Page 1: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

CMSI C (2015/10/08)

ALPS

/ / NIMS [email protected]

Page 2: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS Agenda (1/2)

• CMSI C

• ALPS (Applications and Libraries for Physics Simulations) ?

• ?

• ALPS

• ALPS

• ALPS

• XML / HDF5

• C++

• Python

2

Page 3: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS Agenda (2/2)

• ALPS

• ALPLS

• (GUI )

• ( )

• (MateriApps MateriApps LIVE!)

• ?

3

Page 4: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

• XML

• ( )

• ( )

• XML

• ( ): ED CMC QMC DMRG DMFT

• ALPS

• Python

4

Page 5: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

generic C++

numerics

domain-specificlibraries

applications

tools

C / Fortran BLAS LAPACK MPI

graph serialization XML/XSLT

iterative eigenvalue solverrandom ublas

lattice model observables scheduler

MC QMC ED DMRG DMFT

XML manipulation Python binding GUI

Boost library

5

Page 6: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

parameter2xmltool

application programs

Python based evaluation tools

Parameter XML File

Outputs in HDF5 & XML

Quantum Monte Carlo

Quantum Lattice Model

Exact Diagonalization DMRG

Lattice XML Filesquare lattice

<LATTICES> <LATTICE name="square lattice" dimension="2"> <PARAMETER name="a" default="1"/> <BASIS><VECTOR>a 0</VECTOR><VECTOR>0 a</VECTOR></BASIS> </LATTICE> <UNITCELL name="simple2d" dimension="2"> <VERTEX/> <EDGE> <SOURCE vertex="1" offset="0 0"/> <TARGET vertex="1" offset="0 1"/> </EDGE> <EDGE> <SOURCE vertex="1" offset="0 0"/> <TARGET vertex="1" offset="1 0"/> </EDGE> </UNITCELL> <LATTICEGRAPH name="square lattice"> <FINITELATTICE> <LATTICE ref="square lattice"/> <EXTENT dimension="1" size="L"/> <EXTENT dimension="2" size="L"/> <BOUNDARY type="periodic"/> </FINITELATTICE> <UNITCELL ref="simple2d"/> </LATTICEGRAPH></LATTICES>

(0,0)

(0,1)

(1,0)

<MODELS> <BASIS name="spin"> <SITEBASIS name="spin"> <PARAMETER name="local_S" default="1/2"/> <QUANTUMNUMBER name="S" min="local_S" max="local_S"/> <QUANTUMNUMBER name="Sz" min="-S" max="S"/> <OPERATOR name="Sz" matrixelement="Sz"/> <OPERATOR name="Splus" matrixelement="sqrt(S*(S+1)-Sz*(Sz+1))"> <CHANGE quantumnumber="Sz" change="1"/> </OPERATOR> <OPERATOR name="Sminus" matrixelement="sqrt(S*(S+1)-Sz*(Sz-1))"> <CHANGE quantumnumber="Sz" change="-1"/> </OPERATOR> </SITEBASIS> </BASIS> <HAMILTONIAN name="spin"> <PARAMETER name="J" default="1"/> <PARAMETER name="h" default="0"/> <BASIS ref="spin"/> <SITETERM> -h * Sz(i) </SITETERM> <BONDTERM source="i" target="j"> J * (Sz(i)*Sz(j) + (Splus(i)*Sminus(j)+Sminus(i)*Splus(j)))/2 </BONDTERM> </HAMILTONIAN></MODELS>

Model XML File

H = J< i,j>

[ SziSz

j+ ( S

+

iS-

j+ S

-

iS+

j)/ 2 - h

i

Sz

i]Σ Σ

Plots

Parameter FileLATTICE = "square lattice"MODEL = "spin"L = 16Jxy = 1Jz = 2SWEEPS = 10000THERMALIZATION = 1000

{ T = 0.1 }{ T = 0.2 }{ T = 0.5 }{ T = 1.0 }

DMFT

6

Page 7: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

• (ALPS/alea)

• & (ALPS/scheduler)

• (ALPS/scheduler)

• XML HDF5

• (ALPS/parameter)

• (ALPS/random)

• (ALPS/lattice)

• (ALPS/model)

• ALPS

7

Page 8: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

CMSI C (2015/10/08)

ALPS

:

“ ” ALPS 70, 275-282 (2015)

CMSI MateriApps LIVE! http://www.slideshare.net/cms_initiative/20150902

Page 9: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

CMSI C (2015/10/08)

ALPS

Page 10: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

• ( )

• (ALPS/looper)

• (ALPS/parapack)

• Fortran, C API

• Windows/Macintosh

• GUI ( )

10

Page 11: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

Windows Mac OS X

11

for Mac OS X

for Windows

Page 12: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

12http://www.vistrails.org/

Page 13: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• Web

13

Page 14: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

• : 30 (7 )

14

ALPS Libraries C++ 148,000Python 13,000

ALPS Applications C++ 94,000Fortran 11,000

examples, tutorials, testsC++ 34,000

Fortran 16,000Python 1,000

Measuring programming progress by lines of code is like measuring aircraft building progress by weight. — Bill Gates

Page 15: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• : CMake

• : Subversion

• : Trac

• : MediaWiki

• : Mailman

• Linux 1 web

15

Page 16: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• CMake - http://www.cmake.org

• Makefile (configure )

• Windows Visual C++ Mac OS X Xcode

• CMakeLists.txt

• (CTest) (CPack)

16

cmake make

subversion PC, ,

MakefileCMakeLists.txt

Page 17: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

VCS (Version Control System)

• Subversion - http://subversion.apache.org/

• check out/check in

• 3 VCS

17

Page 18: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

BTS (Bug Tracking System)

• Trac - http://trac.edgewall.org/

• Web

• wiki

• Subversion ( web )

• ( )

• (issue )

18

Page 19: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

Wiki

• MediaWiki - http://www.mediawiki.org/wiki/MediaWiki

• Wiki ?

• Web Web

• Web

• HTML

• ALPS Wiki

• ALPS

19

Page 20: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• git - https://git-scm.com

• Linux

• subversion

• GitHub - https://github.com

• git OSS ( : MateriApps LIVE!)

• git + + wiki + issue + +

• + (GitHub Education)

• git & GitHub CMSI

• & CMSI web

20

Page 21: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

• Mailman - http://www.gnu.org/software/mailman/index.html

• 1.7 / (2010 2014 )

• Trac

• 1.1 / (2010 2014 )

• Web

• FAQ Wiki

• Trac

21

Page 22: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• ALPS developers workshop

• &

• ALPS users workshop

• Wiki ALPS

• ALPS (CMSI )

• ALPS

22

Page 23: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

=

• ALPS Library License, ALPS Application License

• GNU General Public License (GPL)

• Non-commercial academic use

• Commercial use

• ALPS acknowledgement (ALPS )

23

1. In any scientific publication based wholly or in part on the Library, the use of the Library must be acknowledged and the publications listed in the accompanying CITATIONS.txt document must be cited.

Page 24: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS

• ALPS Library

• B. Bauer et al. The ALPS project release 2.0: Open source software for strongly correlated systems, J. Stat. Mech., P05001 (2011).

• A. F. Albuquerque et al. The ALPS project release 1.3: open source software for strongly correlated systems, J. Mag. Mag. Mat. 310, 1187 (2007).

• F. Alet et al. The ALPS Project: Open Source Software for Strongly Correlated Systems, J. Phys. Soc. Jpn. Suppl. 74, 30 (2005).

• ALPS Application

• ( ) ? ?

24

Page 25: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS 2.0 Paper

25

J.Stat.M

ech.(2011)

P05001

ournal of Statistical Mechanics:J Theory and Experiment

The ALPS project release 2.0: opensource software for strongly correlatedsystems

B Bauer1, L D Carr2, H G Evertz3, A Feiguin4, J Freire5,S Fuchs6, L Gamper1, J Gukelberger1, E Gull7, S Guertler8,A Hehn1, R Igarashi9,10, S V Isakov1, D Koop5, P N Ma1,P Mates1,5, H Matsuo11, O Parcollet12, G Paw!lowski13,J D Picon14, L Pollet1,15, E Santos5, V W Scarola16,U Schollwock17, C Silva5, B Surer1, S Todo10,11, S Trebst18,M Troyer1,21, M L Wall2, P Werner1 and S Wessel19,20

1 Theoretische Physik, ETH Zurich, 8093 Zurich, Switzerland2 Department of Physics, Colorado School of Mines, Golden, CO 80401, USA3 Institut fur Theoretische Physik, Technische Universitat Graz, A-8010 Graz,Austria4 Department of Physics and Astronomy, University of Wyoming, Laramie,WY 82071, USA5 Scientific Computing and Imaging Institute, University of Utah,Salt Lake City, UT 84112, USA6 Institut fur Theoretische Physik, Georg-August-Universitat Gottingen,Gottingen, Germany7 Columbia University, New York, NY 10027, USA8 Bethe Center for Theoretical Physics, Universitat Bonn, Nussallee 12,53115 Bonn, Germany9 Center for Computational Science and e-Systems, Japan Atomic EnergyAgency, 110-0015 Tokyo, Japan10 Core Research for Evolutional Science and Technology, Japan Science andTechnology Agency, 332-0012 Kawaguchi, Japan11 Department of Applied Physics, University of Tokyo, 113-8656 Tokyo, Japan12 Institut de Physique Theorique, CEA/DSM/IPhT-CNRS/URA 2306,CEA-Saclay, F-91191 Gif-sur-Yvette, France13 Faculty of Physics, A Mickiewicz University, Umultowska 85, 61-614 Poznan,Poland14 Institute of Theoretical Physics, EPF Lausanne, CH-1015 Lausanne,Switzerland15 Physics Department, Harvard University, Cambridge 02138, MA, USA16 Department of Physics, Virginia Tech, Blacksburg, VA 24061, USA

21 Author to whom any correspondence should be addressed.

c⃝2011 IOP Publishing Ltd and SISSA 1742-5468/11/P05001+34$33.00

J.Stat.M

ech.(2011)

P05001

ournal of Statistical Mechanics:J Theory and Experiment

The ALPS project release 2.0: opensource software for strongly correlatedsystems

B Bauer1, L D Carr2, H G Evertz3, A Feiguin4, J Freire5,S Fuchs6, L Gamper1, J Gukelberger1, E Gull7, S Guertler8,A Hehn1, R Igarashi9,10, S V Isakov1, D Koop5, P N Ma1,P Mates1,5, H Matsuo11, O Parcollet12, G Paw!lowski13,J D Picon14, L Pollet1,15, E Santos5, V W Scarola16,U Schollwock17, C Silva5, B Surer1, S Todo10,11, S Trebst18,M Troyer1,21, M L Wall2, P Werner1 and S Wessel19,20

1 Theoretische Physik, ETH Zurich, 8093 Zurich, Switzerland2 Department of Physics, Colorado School of Mines, Golden, CO 80401, USA3 Institut fur Theoretische Physik, Technische Universitat Graz, A-8010 Graz,Austria4 Department of Physics and Astronomy, University of Wyoming, Laramie,WY 82071, USA5 Scientific Computing and Imaging Institute, University of Utah,Salt Lake City, UT 84112, USA6 Institut fur Theoretische Physik, Georg-August-Universitat Gottingen,Gottingen, Germany7 Columbia University, New York, NY 10027, USA8 Bethe Center for Theoretical Physics, Universitat Bonn, Nussallee 12,53115 Bonn, Germany9 Center for Computational Science and e-Systems, Japan Atomic EnergyAgency, 110-0015 Tokyo, Japan10 Core Research for Evolutional Science and Technology, Japan Science andTechnology Agency, 332-0012 Kawaguchi, Japan11 Department of Applied Physics, University of Tokyo, 113-8656 Tokyo, Japan12 Institut de Physique Theorique, CEA/DSM/IPhT-CNRS/URA 2306,CEA-Saclay, F-91191 Gif-sur-Yvette, France13 Faculty of Physics, A Mickiewicz University, Umultowska 85, 61-614 Poznan,Poland14 Institute of Theoretical Physics, EPF Lausanne, CH-1015 Lausanne,Switzerland15 Physics Department, Harvard University, Cambridge 02138, MA, USA16 Department of Physics, Virginia Tech, Blacksburg, VA 24061, USA

21 Author to whom any correspondence should be addressed.

c⃝2011 IOP Publishing Ltd and SISSA 1742-5468/11/P05001+34$33.00

J.Stat.M

ech.(2011)

P05001

The ALPS project release 2.0: open source software for strongly correlated systems

17 Department for Physics, Arnold Sommerfeld Center for Theoretical Physicsand Center for NanoScience, University of Munich, 80333 Munich, Germany18 Microsoft Research, Station Q, University of California, Santa Barbara,CA 93106, USA19 Institute for Solid State Theory, RWTH Aachen University, 52056 Aachen,Germany20 Institut fur Theoretische Physik III, Universitat Stuttgart,Pfaffenwaldring 57, 70550 Stuttgart, GermanyE-mail: [email protected]

Received 23 December 2010Accepted 15 March 2011Published 4 May 2011

Online at stacks.iop.org/JSTAT/2011/P05001doi:10.1088/1742-5468/2011/05/P05001

Abstract. We present release 2.0 of the ALPS (Algorithms and Librariesfor Physics Simulations) project, an open source software project to developlibraries and application programs for the simulation of strongly correlatedquantum lattice models such as quantum magnets, lattice bosons, and stronglycorrelated fermion systems. The code development is centered on common XMLand HDF5 data formats, libraries to simplify and speed up code development,common evaluation and plotting tools, and simulation programs. The programsenable non-experts to start carrying out serial or parallel numerical simulationsby providing basic implementations of the important algorithms for quantumlattice models: classical and quantum Monte Carlo (QMC) using non-localupdates, extended ensemble simulations, exact and full diagonalization (ED),the density matrix renormalization group (DMRG) both in a static version anda dynamic time-evolving block decimation (TEBD) code, and quantum MonteCarlo solvers for dynamical mean field theory (DMFT). The ALPS librariesprovide a powerful framework for programmers to develop their own applications,which, for instance, greatly simplify the steps of porting a serial code onto aparallel, distributed memory machine. Major changes in release 2.0 includethe use of HDF5 for binary data, evaluation tools in Python, support for theWindows operating system, the use of CMake as build system and binaryinstallation packages for Mac OS X and Windows, and integration with theVisTrails workflow provenance tool. The software is available from our web serverat http://alps.comp-phys.org/.

Keywords: density matrix renormalization group calculations, classical MonteCarlo simulations, quantum Monte Carlo simulations, quantum phase transitions(theory)

ArXiv ePrint: 1101.2646

doi:10.1088/1742-5468/2011/05/P05001 2

J. Stat. Mech. (2011) P05001

Page 26: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

26

J.Stat.M

ech.(2011)

P05001

The ALPS project release 2.0: open source software for strongly correlated systems

Contents

1. Introduction 4

2. The ALPS project 52.1. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.2. New features in version 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

3. Building and installing ALPS 63.1. Build system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63.2. Building ALPS from source . . . . . . . . . . . . . . . . . . . . . . . . . . 63.3. Binary installation packages . . . . . . . . . . . . . . . . . . . . . . . . . . 73.4. LiveALPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4. Data formats 74.1. XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74.2. HDF5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

5. ALPS libraries 8

6. Evaluation tools in Python 96.1. The Python language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96.2. The pyalps package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

7. Applications 107.1. Exact diagonalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

7.1.1. Sparse diagonalization code sparsediag. . . . . . . . . . . . . . . . 117.1.2. Full diagonalization code fulldiag. . . . . . . . . . . . . . . . . . . 11

7.2. Classical Monte Carlo simulations . . . . . . . . . . . . . . . . . . . . . . . 117.2.1. Classical Monte Carlo codes for spin models spinmc. . . . . . . . . 11

7.3. Quantum Monte Carlo simulations . . . . . . . . . . . . . . . . . . . . . . 127.3.1. The looper code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127.3.2. The directed loop algorithm code dirloop sse. . . . . . . . . . . . 127.3.3. The worm algorithm code worm. . . . . . . . . . . . . . . . . . . . . 127.3.4. The extended ensemble code qwl. . . . . . . . . . . . . . . . . . . . 12

7.4. Density matrix renormalization group (DMRG) algorithms . . . . . . . . . 127.4.1. The dmrg code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127.4.2. Time-evolving block decimation code tebd. . . . . . . . . . . . . . . 12

7.5. Dynamical mean field theory QMC solvers dmft . . . . . . . . . . . . . . . 13

8. Integration with the VisTrails workflow and computational provenancetools 138.1. Computational provenance . . . . . . . . . . . . . . . . . . . . . . . . . . . 138.2. The ALPS VisTrails package . . . . . . . . . . . . . . . . . . . . . . . . . . 14

9. Tutorials and examples 159.1. Tutorials on using the ALPS codes . . . . . . . . . . . . . . . . . . . . . . 159.2. Tutorials on writing codes with ALPS . . . . . . . . . . . . . . . . . . . . . 16

doi:10.1088/1742-5468/2011/05/P05001 3

J.Stat.M

ech.(2011)

P05001

The ALPS project release 2.0: open source software for strongly correlated systems

10.License 17

11.Future development plans 18

Acknowledgments 19

Appendix A. Scientific workflows and VisTrails 20A.1. Workflows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20A.2. Data provenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20A.3. Caching and persistent storage . . . . . . . . . . . . . . . . . . . . . . 23A.4. Sharing content and reproducible research . . . . . . . . . . . . . . . 24

Appendix B. Python examples 24

Appendix C. ALPS installation with CMake 26C.1. Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26C.2. The CMake build system . . . . . . . . . . . . . . . . . . . . . . . . . 27C.3. Installation steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

Appendix D. The ALPS XML schemas 29D.1. Lattice definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31D.2. Model definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

References 33

1. Introduction

In this paper we present release 2.0 of the ALPS project (Algorithms and Libraries forPhysics Simulations), an open source software development project for strongly correlatedlattice models. This paper updates the publications on the previous releases [1, 2] toinclude changes and new features in version 2.0.

Quantum fluctuations and competing interactions in quantum many-body systemslead to unusual and exciting properties of strongly correlated materials such as quantummagnetism, high temperature superconductivity, heavy fermion behavior, and topologicalquantum order. The strong interactions make accurate analytical treatments hard anddirect numerical simulations are essential to increase our understanding of the unusualproperties of these systems.

The last two decades have seen tremendous progress in the development of algorithms,including refinements to existing numerical algorithms, such as exact diagonalization [3],the density matrix renormalization group [4]–[7] and (quantum) Monte Carlo (QMC)techniques, as well as the advent of a new class of variational approaches based on tensornetwork states [8]–[12]. Some of the algorithmic refinements have led to computationalspeedups of many orders of magnitude, such as the development of non-local updateschemes [13, 14] in QMC methods [15]–[22], the sampling of extended ensembles [23]–[28],or the continuous-time approach to quantum impurity problems [29]–[33]. These advancesoften come at the cost of increased algorithmic complexity and challenge the current modelof program development in this research field. In contrast to other research areas, in whichlarge ‘community codes’ are being used, the field of strongly correlated systems has sofar been based mostly on single codes developed by individual researchers for particular

doi:10.1088/1742-5468/2011/05/P05001 4

Page 27: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

CMSI C (2015/10/08)

Page 28: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

28

Page 29: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• (40 )

• ( )

• ( )

29

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. — Brian W. Kernighan

Page 30: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• GitHub SourceForge SlideShare YouTube

• MateriApps http://ma.cms-initiative.jp/• MateriApps web• MateriApps LIVE!• MateriApps Installer• MateriApps Cloud (coming soon?)

• CMSI

30

Page 31: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

1 : HΦ ( )

()

• : ( )

• 2015/10/09 ( !) 17:00 (JST)

• MateriApps http://ma.cms-initiative.jp/ja/listapps/hphi

• GitHub https://github.com/QLMS/HPhi/releases

31

It always takes longer than you expect, even when you take into account Hofstadter's Law. — Hofstadter's Law

Page 32: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

32

a Portal to Materials Science Simulation

a Portal Site for Materials Science Simulationhttp://ma.cms-initiative.jp/

Introducing on https://youtu.be/xfDpilTcutw

Demo on

https://youtu.be/Pn5H3ro6WgY

on

http://cmsi.github.io/MateriAppsLive/

MateriApps Installer onhttps://github.com/wistaria/MateriAppsInstaller

S. Todo1,2, R. Igarashi2, S. Kasamatsu2, T. Kato2, N. Kawashima2, T. Kawatsu3, Y. Konishi2, H. Kouta2, H. Matsuo4, M. Noda5, S. Sasaki6, Y. Terada7, S. Tsuchida6, K. Yoshimi2, K. Yoshizawa2 (MateriApps collaboration) (1UTokyo, 2ISSP, 3YCU, 4RIST, 5IMS, 6Ageha, 7IMR)

Current status and issues in Computational Materials Science

From Developers’ viewpoint:

- New algorithms should be implemented and used, or it will be forgotten and lost - “In-house” code will be left uncontrolled once the graduate student or PostDoc leaves the group - Costs too much to write and maintain the documents - Development of software itself is hardly considered as scientific achievements - Little idea about potential “customers” and their needs

From Users’ viewpoint:

- Trade-off between “initial cost” and “scalability, functionality, accuracy, performance” - What kind of applications? Who develops them? - Which application should we use for our problem? - Manual and documentation are not well prepared - How can we evaluate the accuracy of the results?

Computational Materials Science in Japan

- Computational Materials Science Initiative

- Promoting cutting-edge researches on wide topics ranging from strongly correlated electrons, electric devices, molecules to structural materials

- State-of-the-art algorithms developed and optimized for massively parallel supercomputers: the K computer, HPCI systems, etc.

- Faster, more stable, and more accurate simulations of larger systems

- Provides advanced functionality for leading-edge researches: conductivity, excited states, extended ensembles, downfolding, etc.

CMSI Open-source Application Software

Electronic structure calculation (solid state physics)

- Performs electronic structure calculation for a wide range of materials including crystals, interfaces, liquids, etc. For example, OpenMX is able to deal with non-collinear magnetism and non-equilibrium Green's function calculations for electron transport

Electronic structure calculation (quantum chemistry)

- Performs quantum-mechanical simulations of large molecular systems efficiently, and calculates various information regarding the structure and function of biopolymers, such as the interaction between a protein and a ligand

Molecular dynamics

- Equipped with most of standard MD techniques including free energy calculations based on thermodynamic integration method, and enables investigations of large-scale real systems such as viruses, liposomes, assemblies of proteins and micelles, and polymers

Strongly correlated systems/ effective model calculation

- Performs simulations of strongly correlated systems such as magnetic materials or correlated electrons. Heat capacities, susceptibilities, magnetization processes in interacting spin systems, the density of states of strongly correlated electrons, etc, can be calculated

a Portal Site for Materials Science Simulation

- Introduces materials science applications/tools/databases

- Search from category, features, targets, methods/algorithms

- Information of applications/tools

- brief introductions, links to homepage, installation, usage, online hands-on, developer’s voice, updates, license, etc.

- Forum for exchanging experiences between users and developers

- Voice from users “A lot of information, careful explanation ...” “Plain design and rich contents ...”

“... able to know the applications I did not know before, ... nice to widely advertize

their own application software for developers ...”

“... hope that you can further lower the barrier to start materials simulation ...”

“... would be great if one can connect to a supercomputer directly

and execute simulations just after trial on USB ...”

“ ... would like to see the comparison of simulation results for the same system

using different application software ...”

150+ applications/tools on the list

8000+PV, 1300+ unique visitors / months

Review articles on applications in each category will start soon

Goal of MateriApps Project

Formation of community in the field of computational materials science

through the promotion of open-source software...

What MateriApps will Provide

- To find application software - catalog of application/tool on MateriApps web- To learn application software - CMSI hands-on session at Kobe and other places - web tutorials, distant learning- To start using application software - MateriApps LIVE! - MateriApps Cloud (comming soon!)- To actively use application software - MateriApps Instasller - MateriApps Forum

http://ma.cms-initiative.jp/

a Debian USB Live Linux System

- Bootable directly from USB stick (or in virtual machine) - just boot and get ready for materials science simulations without installation!

- Version 1.7 was publishd in July 2015- Pre-installed software - ABINIT, AkaiKKR, ALPS, CP2K, Feram, ERmod, GAMESS, Gromacs, OpenMX,` Quantum ESPRESSO, SMASH, xTAPP, and various visualization tools

800+ copies downloaded/distributed since July 2013

Electronic Structure

AkaiKKROpenMXxTAPPABINIT...

Quantum Chemistry

FMOSMASHGAMESSDC...

Molecular Dynamics

MODYLASGromacsERmodMDACP...

Lattice Models

ALPSDSQSSBLOCKDMRG++...

Continuum Models

ANSYS MultiphysicsOcta ...

Data Analysis

CLUPANBSA

Viaualization

TAPIOCAParaView

: included in MateriApps LIVE!

Database

MatNaviAFOWLIB

Bold: CMSI Applications

Applications/Tools/Databases Introduced in

(37) (19) (16) (21)

(3)(28)(25)(8)

Installer

- Collection of install scripts of MateriApps applications/tools - together with sample job scripts

- Covers major supercomputers, workstations, PCs K computer, ITC systems, ISSP/IMS/IMR supercomputer systems, cluster workstations, PCs, Mac OS X

Cloud

on-demand execution of MateriApps applications will start from Autumn 2015

https://github.com/wistaria/MateriAppsInstaller

Establishment of infrastructure for easily starting materials science simulations for

theoreticians, experimentalists, researchers in companies, students, and more...

Sustainable development of materials science applications for future HPC

systems including post-K flagship system and beyond...

Flagship system (K, post-K,...)

HPC infrastructure supercomputers in Japan

Supercomputers for shared-use in research fields

Cloud computing, on-premises PC clusters

Personal workstations, PCs

InstallerHands-on

“How and where can we distribute our codes?” “How and where can we find and learn the best Apps?”

mismatch between

seeds and needs

HPC Hierarchy and MateriApps

Cloud

Page 33: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

MateriApps — • ( )

33

• 155(2015 9 )

• •

• ( )

• web

• 8000 2013 5

Page 34: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

MateriApps • 155 (2015 9 )

34

(37) (19) (19) (22)

(8) (26) (28)

Page 35: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

MateriApps •

• ( )

• ( )

35

Page 36: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

• MateriApps web

• MateriApps Installer

• MateriApps LIVE!

36

Page 37: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

MateriApps LIVE! • USB Linux (Debian Live Linux)

• Windows Mac

• 1.8 (2015 8 31 )

• MateriApps

• 2015 8 ABINIT, AkaiKKR, ALPS, CP2K, Feram ,ERmod, Gromacs, OpenMX Quantum Espresso, SMASH, xTAPP, VESTA

• GAMESS, VMD

• MateriApps LIVE!

• 900

37

Page 38: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

MateriApps LIVE! • MateriApps LIVE! •

• OpenMX• C-Tools VESTA XCrysDen

• • Gromacs• VMD

• • ALPS• ParaView

• ( )

• http://www.slideshare.net/cms_initiative/clipboards/materiappslive

38

Page 39: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS Agenda (1/2)

• CMSI C

• ALPS (Applications and Libraries for Physics Simulations) ?

• ?

• ALPS

• ALPS

• ALPS

• XML / HDF5

• C++

• Python

39

Page 40: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

ALPS Agenda (2/2)

• ALPS

• ALPLS

• (GUI )

• ( )

• (MateriApps MateriApps LIVE!)

• ?

40

Page 41: CMSI計算科学技術特論C (2015) ALPS と量子多体問題②

CMSI C

• 10 1 10 8 : ALPS ( )

• 10 15 10 22 : OpenMX DFT ( )

• 10 29 : xTAPP DFT (RIST)

• 11 5 : ( )

• 11 12 : ( )

• 11 19 : ( ) ( )

• 11 26 12 3 : feram ( )

• 12 10 12 17 : MODYLAS MD ( )

• 1 7 1 21 : ( )

• 1 14 : SMASH ( )41